Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8971/0.8971, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01654/0.01654, allocations: 4.212 MB / 263.4 MB, free: 9.145 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 393.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.149e-05, allocations: 2.281 kB / 393.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004347/0.004369, allocations: 4.011 MB / 397.3 MB, free: 468 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.006724, allocations: 1.542 MB / 398.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.007117, allocations: 15.88 kB / 398.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008056/0.007923, allocations: 285.4 kB / 399.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.008404, allocations: 266.1 kB / 399.4 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.008794, allocations: 223.5 kB / 399.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01484/0.02363, allocations: 26.41 MB / 426 MB, free: 3.637 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006448/0.03008, allocations: 3.757 MB / 429.8 MB, free: 15.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02201/0.05209, allocations: 13.98 MB / 443.8 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1729/0.225, allocations: 11.63 MB / 455.4 MB, free: 63.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006914/0.232, allocations: 2.701 MB / 458.1 MB, free: 63.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007752/0.2397, allocations: 2.72 MB / 460.8 MB, free: 63.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006527/0.2462, allocations: 5.189 MB / 466 MB, free: 60.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01345/0.2597, allocations: 6.897 MB / 472.9 MB, free: 58.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02573/0.2854, allocations: 30.7 MB / 0.4918 GB, free: 45.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2854, allocations: 0.625 kB / 0.4918 GB, free: 45.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2854, allocations: 3.719 kB / 0.4918 GB, free: 45.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008429/0.2863, allocations: 3.469 kB / 0.4918 GB, free: 45.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.06891/0.3552, allocations: 31.36 MB / 0.5224 GB, free: 26.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3552, allocations: 13.91 kB / 0.5224 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005579/0.3608, allocations: 1.123 MB / 0.5235 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007215/0.368, allocations: 1.546 MB / 0.525 GB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03638/0.4044, allocations: 18.76 MB / 0.5434 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004908/0.4049, allocations: 0.6256 MB / 0.544 GB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004012/0.4089, allocations: 0.8164 MB / 0.5448 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03131/0.4402, allocations: 15.72 MB / 0.5601 GB, free: 3.961 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.4404, allocations: 19.91 kB / 0.5601 GB, free: 3.953 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002835/0.4432, allocations: 352 kB / 0.5605 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.4433, allocations: 212 kB / 0.5607 GB, free: 3.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03283/0.4762, allocations: 17.57 MB / 0.5778 GB, free: 1.852 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2954/0.7716, allocations: 54.05 MB / 0.6306 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/0.7974, allocations: 17.33 MB / 0.6476 GB, free: 98.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009505/0.8069, allocations: 7.134 MB / 0.6545 GB, free: 96.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.8071, allocations: 68.11 kB / 0.6546 GB, free: 96.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.8071, allocations: 77.42 kB / 0.6547 GB, free: 96.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=448): time 6.062e-06/0.8071, allocations: 0 / 0.6547 GB, free: 96.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=448): time 0.02751/0.8346, allocations: 22.05 MB / 0.6762 GB, free: 89.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.8347, allocations: 103.6 kB / 0.6763 GB, free: 89.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02012/0.8548, allocations: 15.49 MB / 0.6914 GB, free: 80.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001822/0.8566, allocations: 113.7 kB / 0.6915 GB, free: 79.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003593/0.8602, allocations: 6.187 MB / 0.6976 GB, free: 74.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001927/0.8621, allocations: 1.632 MB / 0.6992 GB, free: 73.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004412/0.8665, allocations: 2.121 MB / 0.7012 GB, free: 70.99 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.8666, allocations: 301.1 kB / 0.7015 GB, free: 70.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009309/0.8759, allocations: 7.651 MB / 0.709 GB, free: 63.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008996/0.8849, allocations: 8.841 MB / 0.7176 GB, free: 53.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/0.902, allocations: 14.38 MB / 0.7317 GB, free: 39.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.943e-05/0.9021, allocations: 8 kB / 0.7317 GB, free: 39.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.03178/0.9338, allocations: 25.69 MB / 0.7568 GB, free: 13.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.9339, allocations: 16 kB / 0.7568 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.9339, allocations: 29.34 kB / 0.7568 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02686/0.9608, allocations: 26.09 MB / 0.7823 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004999/0.9658, allocations: 1.498 MB / 0.7838 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2443/1.21, allocations: 103.4 MB / 0.8848 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/1.221, allocations: 2.507 MB / 0.8872 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.223, allocations: 382.3 kB / 0.8876 GB, free: 85.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.007808/1.23, allocations: 4.565 MB / 0.892 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003219/1.234, allocations: 1.231 MB / 0.8932 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/1.253, allocations: 17.56 MB / 0.9104 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/1.253, allocations: 48.86 kB / 0.9104 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.253, allocations: 0 / 0.9104 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/1.253, allocations: 19.92 kB / 0.9105 GB, free: 74.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03518/1.288, allocations: 30.63 MB / 0.9404 GB, free: 44.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.288, allocations: 0 / 0.9404 GB, free: 44.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008885/1.289, allocations: 455.4 kB / 0.9408 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01464/1.304, allocations: 15.8 MB / 0.9562 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000531/1.304, allocations: 119.8 kB / 0.9564 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03514/1.339, allocations: 25.19 MB / 0.981 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.339, allocations: 3.594 kB / 0.981 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2258/1.565, allocations: 16.82 MB / 0.9974 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00561/1.571, allocations: 2.866 MB / 1 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/1.572, allocations: 72.66 kB / 1 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005009/1.577, allocations: 1.314 MB / 1.002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/1.578, allocations: 231.4 kB / 1.002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003147/1.578, allocations: 146.1 kB / 1.002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01234/1.59, allocations: 10.61 MB / 1.012 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/1.59, allocations: 0 / 1.012 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008877/1.599, allocations: 2.976 MB / 1.015 GB, free: 132.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01845/1.618, allocations: 17.51 MB / 1.032 GB, free: 127 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03669/1.654, allocations: 30.36 MB / 1.062 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.654, allocations: 448 / 1.062 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02349/1.678, allocations: 15.06 MB / 1.077 GB, free: 90.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01356/1.691, allocations: 3.142 MB / 1.08 GB, free: 87.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7564/2.448, allocations: 143.8 MB / 1.22 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006497/2.454, allocations: 8.201 MB / 1.228 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006976/2.461, allocations: 3.785 MB / 1.232 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004368/2.466, allocations: 5.001 MB / 1.237 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.313e-06/2.466, allocations: 0 / 1.237 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7137/3.179, allocations: 333.6 MB / 1.563 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.78/29.96, allocations: 3.188 kB / 1.563 GB, free: 109.6 MB / 0.5105 GB " [Timeout remaining time 630] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.86148417554796] Failed to read output from testmodel.py, exit status != 0: 30.19312729779631 30.202343343 29.914254955 Calling exit ...