Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 107.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.087/1.087, allocations: 175.8 MB / 478.4 MB, free: 8.469 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 73.5 kB / 0.6652 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1894, allocations: 94.54 MB / 0.7575 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.3977/0.5871, allocations: 4.926 MB / 0.7623 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1941/0.7812, allocations: 151.1 MB / 0.9099 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.7828, allocations: 23.88 kB / 0.9099 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.7839, allocations: 194.2 kB / 0.9101 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.7867, allocations: 0.5592 MB / 0.9106 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.7894, allocations: 0.8513 MB / 0.9115 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002549/0.792, allocations: 1.425 MB / 0.9129 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.7931, allocations: 426.8 kB / 0.9133 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.7941, allocations: 0.4983 MB / 0.9138 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009167/0.795, allocations: 0.5211 MB / 0.9143 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.7953, allocations: 120 kB / 0.9144 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.7966, allocations: 487.6 kB / 0.9148 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.797, allocations: 314.9 kB / 0.9151 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007412/0.7977, allocations: 0.5713 MB / 0.9157 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.8005, allocations: 1.675 MB / 0.9173 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8005, allocations: 0 / 0.9173 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8005, allocations: 0 / 0.9173 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.906e-05/0.8005, allocations: 0 / 0.9173 GB, free: 4.371 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003151/0.8037, allocations: 1.496 MB / 0.9188 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8037, allocations: 8.031 kB / 0.9188 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.8039, allocations: 143.5 kB / 0.9189 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.8048, allocations: 200 kB / 0.9191 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.8062, allocations: 0.7824 MB / 0.9199 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.8063, allocations: 58 kB / 0.92 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.8064, allocations: 84 kB / 0.92 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.808, allocations: 0.9534 MB / 0.921 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.808, allocations: 0 / 0.921 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-05/0.8081, allocations: 36 kB / 0.921 GB, free: 488 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.8081, allocations: 24 kB / 0.921 GB, free: 464 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.81, allocations: 1.128 MB / 0.9221 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/0.8145, allocations: 2.788 MB / 0.9248 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.8162, allocations: 0.8563 MB / 0.9257 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.8168, allocations: 286.7 kB / 0.926 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.8169, allocations: 28.67 kB / 0.926 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.8179, allocations: 0.5214 MB / 0.9265 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=84): time 2.766e-06/0.8179, allocations: 0 / 0.9265 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84): time 0.003588/0.8215, allocations: 1.251 MB / 0.9277 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.8217, allocations: 196.9 kB / 0.9279 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.8227, allocations: 0.641 MB / 0.9285 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/0.8228, allocations: 49.69 kB / 0.9286 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.8232, allocations: 405.1 kB / 0.929 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.8235, allocations: 277.6 kB / 0.9292 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.8237, allocations: 154.6 kB / 0.9294 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.824, allocations: 386.8 kB / 0.9297 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.8245, allocations: 262.4 kB / 0.93 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.8252, allocations: 370.5 kB / 0.9303 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.8263, allocations: 0.6008 MB / 0.9309 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.8263, allocations: 4 kB / 0.9309 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002142/0.8285, allocations: 0.8349 MB / 0.9317 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.8285, allocations: 11.94 kB / 0.9318 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8285, allocations: 0 / 0.9318 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.8291, allocations: 80.88 kB / 0.9318 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.8299, allocations: 155.8 kB / 0.932 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.8323, allocations: 1.636 MB / 0.9336 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008072/0.8331, allocations: 87.52 kB / 0.9337 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/0.8332, allocations: 35.97 kB / 0.9337 GB, free: 2.988 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005513/0.8337, allocations: 273.2 kB / 0.934 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.834, allocations: 87.44 kB / 0.934 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.8367, allocations: 1.137 MB / 0.9352 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.8367, allocations: 11.98 kB / 0.9352 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8367, allocations: 0 / 0.9352 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.8368, allocations: 3.984 kB / 0.9352 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.8406, allocations: 2.028 MB / 0.9372 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8406, allocations: 4.812 kB / 0.9372 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.8412, allocations: 159.8 kB / 0.9373 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.8417, allocations: 68.8 kB / 0.9374 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.8418, allocations: 31.91 kB / 0.9374 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.8439, allocations: 1.652 MB / 0.939 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8439, allocations: 0 / 0.939 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.8462, allocations: 1.049 MB / 0.94 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/0.8468, allocations: 292.3 kB / 0.9403 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.847, allocations: 31.92 kB / 0.9404 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.8477, allocations: 65.47 kB / 0.9404 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.8479, allocations: 76.89 kB / 0.9405 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.8479, allocations: 31.98 kB / 0.9405 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006432/0.8486, allocations: 471 kB / 0.941 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8486, allocations: 4 kB / 0.941 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009342/0.8495, allocations: 331.1 kB / 0.9413 GB, free: 10.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004364/0.8539, allocations: 2.109 MB / 0.9433 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.8557, allocations: 0.8077 MB / 0.9441 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.8557, allocations: 4 kB / 0.9441 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.8567, allocations: 0.5082 MB / 0.9446 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.8581, allocations: 299.8 kB / 0.9449 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.8697, allocations: 6.396 MB / 0.9512 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.8705, allocations: 1.032 MB / 0.9522 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009141/0.8714, allocations: 266.9 kB / 0.9524 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/0.872, allocations: 415.2 kB / 0.9528 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of SimCode: time 7.22e-07/0.872, allocations: 0 / 0.9528 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06045/0.9325, allocations: 22.35 MB / 0.9747 GB, free: 9.082 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.43, allocations: 12.33 kB / 0.9747 GB, free: 9.078 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.440102343913168] Failed to read output from testmodel.py, exit status != 0: 14.64639510633424 14.675253977 13.869726854 Calling exit ...