Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001338/0.001338, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001982/0.001982, allocations: 220.5 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8315/0.8315, allocations: 134 MB / 447.2 MB, free: 9.953 MB / 350.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/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 60.69 kB / 0.6192 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.159, allocations: 85.91 MB / 0.7031 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005775/0.1648, allocations: 3.79 MB / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4936/0.6584, allocations: 132.5 MB / 0.8362 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.6591, allocations: 22.66 kB / 0.8362 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.6596, allocations: 180 kB / 0.8364 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.6611, allocations: 0.4944 MB / 0.8369 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.6632, allocations: 0.8184 MB / 0.8377 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.6649, allocations: 1.207 MB / 0.8388 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.6657, allocations: 452.2 kB / 0.8393 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009019/0.6666, allocations: 470.5 kB / 0.8397 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.6672, allocations: 459.3 kB / 0.8402 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.6673, allocations: 104 kB / 0.8403 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.6683, allocations: 497.4 kB / 0.8407 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.6686, allocations: 276.8 kB / 0.841 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.6691, allocations: 405.9 kB / 0.8414 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.6714, allocations: 1.551 MB / 0.8429 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6714, allocations: 0 / 0.8429 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6714, allocations: 0 / 0.8429 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.6714, allocations: 0 / 0.8429 GB, free: 4.195 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002311/0.6737, allocations: 1.315 MB / 0.8442 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6737, allocations: 12.03 kB / 0.8442 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.657e-05/0.6738, allocations: 26.17 kB / 0.8442 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.6739, allocations: 123.1 kB / 0.8443 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.6756, allocations: 240.1 kB / 0.8446 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.6769, allocations: 0.6751 MB / 0.8452 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.6769, allocations: 61.94 kB / 0.8453 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.677, allocations: 79.98 kB / 0.8454 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6787, allocations: 1.119 MB / 0.8465 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.6787, allocations: 0 / 0.8465 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.6788, allocations: 33.22 kB / 0.8465 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.6788, allocations: 24 kB / 0.8465 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.6804, allocations: 1.057 MB / 0.8475 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.684, allocations: 2.099 MB / 0.8496 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.6852, allocations: 0.677 MB / 0.8503 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.6857, allocations: 250.7 kB / 0.8505 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.6858, allocations: 24.64 kB / 0.8505 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008328/0.6866, allocations: 0.5177 MB / 0.851 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.6866, allocations: 0 / 0.851 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72): time 0.002847/0.6894, allocations: 1.012 MB / 0.852 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.6896, allocations: 192.5 kB / 0.8522 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.6904, allocations: 0.6136 MB / 0.8528 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.6904, allocations: 41.7 kB / 0.8528 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.6907, allocations: 388.9 kB / 0.8532 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.6909, allocations: 245.9 kB / 0.8534 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.6912, allocations: 138.2 kB / 0.8536 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.6913, allocations: 378.8 kB / 0.8539 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.6918, allocations: 213.2 kB / 0.8541 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.6924, allocations: 451.2 kB / 0.8546 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.6933, allocations: 0.5277 MB / 0.8551 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.6933, allocations: 4.562 kB / 0.8551 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00175/0.6951, allocations: 0.7162 MB / 0.8558 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6951, allocations: 4 kB / 0.8558 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6951, allocations: 7.984 kB / 0.8558 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.6957, allocations: 84.86 kB / 0.8559 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/0.6963, allocations: 135.8 kB / 0.856 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.6984, allocations: 1.528 MB / 0.8575 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.699, allocations: 71.69 kB / 0.8576 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.6991, allocations: 31.97 kB / 0.8576 GB, free: 4.578 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0004132/0.6995, allocations: 250.5 kB / 0.8578 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.6997, allocations: 83.42 kB / 0.8579 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.7019, allocations: 0.9955 MB / 0.8589 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.7019, allocations: 12 kB / 0.8589 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.7019, allocations: 3.938 kB / 0.8589 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.7019, allocations: 3.984 kB / 0.8589 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.7051, allocations: 1.744 MB / 0.8606 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7051, allocations: 0 / 0.8606 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.7057, allocations: 143.8 kB / 0.8607 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.7061, allocations: 76.78 kB / 0.8608 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.7062, allocations: 23.98 kB / 0.8608 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.7081, allocations: 1.539 MB / 0.8623 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.7081, allocations: 3.938 kB / 0.8623 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.7101, allocations: 0.9282 MB / 0.8633 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.7105, allocations: 187.1 kB / 0.8634 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.7106, allocations: 20 kB / 0.8635 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.7111, allocations: 51.95 kB / 0.8635 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.7113, allocations: 64.88 kB / 0.8636 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.7113, allocations: 31.97 kB / 0.8636 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005798/0.7119, allocations: 447 kB / 0.864 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7119, allocations: 0 / 0.864 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000827/0.7127, allocations: 291.2 kB / 0.8643 GB, free: 13.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004135/0.7169, allocations: 2.004 MB / 0.8663 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.7184, allocations: 0.7081 MB / 0.8669 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7184, allocations: 0 / 0.8669 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008567/0.7193, allocations: 468.4 kB / 0.8674 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.7205, allocations: 284.7 kB / 0.8677 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.7315, allocations: 5.946 MB / 0.8735 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.7319, allocations: 422.7 kB / 0.8739 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008239/0.7328, allocations: 258.2 kB / 0.8741 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/0.7333, allocations: 351.3 kB / 0.8745 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.7333, allocations: 4 kB / 0.8745 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08336/0.8167, allocations: 21.47 MB / 0.8954 GB, free: 13.94 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.48, allocations: 9.906 kB / 0.8954 GB, free: 13.93 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.22060911299195] Failed to read output from testmodel.py, exit status != 0: 14.753271642955951 14.769814181 14.09540007 Calling exit ...