Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.001279/0.001279, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001487/0.001487, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.805 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.8515/0.8515, allocations: 134 MB / 446.4 MB, free: 9.938 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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",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.002136/0.002136, allocations: 74.8 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1717, allocations: 85.9 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005974/0.1777, allocations: 3.763 MB / 0.706 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5706/0.7482, allocations: 132.5 MB / 0.8355 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.749, allocations: 22.28 kB / 0.8355 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007554/0.7498, allocations: 171.8 kB / 0.8356 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.7517, allocations: 499.8 kB / 0.8361 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.7539, allocations: 0.8215 MB / 0.8369 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.7555, allocations: 1.199 MB / 0.8381 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009343/0.7564, allocations: 421.7 kB / 0.8385 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008113/0.7572, allocations: 455.3 kB / 0.8389 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007578/0.758, allocations: 402.8 kB / 0.8393 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.7583, allocations: 108 kB / 0.8394 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.7594, allocations: 492.4 kB / 0.8399 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.7598, allocations: 271.1 kB / 0.8401 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006572/0.7605, allocations: 405.9 kB / 0.8405 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.7628, allocations: 1.547 MB / 0.842 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7628, allocations: 0 / 0.842 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7628, allocations: 3.938 kB / 0.842 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.547e-05/0.7628, allocations: 8 kB / 0.8421 GB, free: 4.09 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003032/0.7659, allocations: 1.296 MB / 0.8433 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7659, allocations: 8.031 kB / 0.8433 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002166/0.7661, allocations: 127 kB / 0.8435 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.7678, allocations: 240 kB / 0.8437 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.7693, allocations: 0.6714 MB / 0.8443 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.7693, allocations: 58 kB / 0.8444 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.7695, allocations: 79.98 kB / 0.8445 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.7715, allocations: 1.107 MB / 0.8455 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.7715, allocations: 3.938 kB / 0.8456 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.7716, allocations: 36 kB / 0.8456 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.7716, allocations: 20 kB / 0.8456 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.7735, allocations: 1.015 MB / 0.8466 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.7776, allocations: 2.11 MB / 0.8487 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.7791, allocations: 0.6793 MB / 0.8493 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.7796, allocations: 258.1 kB / 0.8496 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.388e-05/0.7796, allocations: 24.62 kB / 0.8496 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008417/0.7805, allocations: 0.5147 MB / 0.8501 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.427e-06/0.7805, allocations: 0 / 0.8501 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002998/0.7835, allocations: 1.006 MB / 0.8511 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.7836, allocations: 188.6 kB / 0.8513 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.7845, allocations: 0.6058 MB / 0.8518 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.7846, allocations: 41.7 kB / 0.8519 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.785, allocations: 380.9 kB / 0.8522 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.7852, allocations: 249.8 kB / 0.8525 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.7855, allocations: 134.2 kB / 0.8526 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.7857, allocations: 378.8 kB / 0.853 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.7862, allocations: 213.2 kB / 0.8532 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.7868, allocations: 447.3 kB / 0.8536 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.7878, allocations: 0.5313 MB / 0.8541 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7878, allocations: 3.938 kB / 0.8541 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001857/0.7897, allocations: 0.72 MB / 0.8548 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.7897, allocations: 8 kB / 0.8548 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7897, allocations: 0 / 0.8548 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/0.7903, allocations: 80.88 kB / 0.8549 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.7909, allocations: 135.8 kB / 0.855 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.7933, allocations: 1.534 MB / 0.8565 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.7939, allocations: 68.61 kB / 0.8566 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.794, allocations: 27.97 kB / 0.8566 GB, free: 4.598 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 (73): * Single equations (assignments): 72 * 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.0004758/0.7944, allocations: 257.7 kB / 0.8569 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.7946, allocations: 87.42 kB / 0.857 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.797, allocations: 0.9576 MB / 0.8579 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.797, allocations: 8 kB / 0.8579 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.797, allocations: 0 / 0.8579 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.797, allocations: 3.984 kB / 0.8579 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.8006, allocations: 1.711 MB / 0.8596 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.8006, allocations: 4 kB / 0.8596 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.8012, allocations: 135.8 kB / 0.8597 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.8016, allocations: 84.72 kB / 0.8598 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.8017, allocations: 15.98 kB / 0.8598 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.8038, allocations: 1.551 MB / 0.8613 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8038, allocations: 0 / 0.8613 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.8059, allocations: 0.9073 MB / 0.8622 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/0.8064, allocations: 191.2 kB / 0.8624 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.8066, allocations: 15.94 kB / 0.8624 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006002/0.8072, allocations: 52.64 kB / 0.8625 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.8074, allocations: 60.89 kB / 0.8625 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.8074, allocations: 35.97 kB / 0.8626 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007352/0.8082, allocations: 443 kB / 0.863 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.8082, allocations: 0 / 0.863 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001038/0.8092, allocations: 291.1 kB / 0.8633 GB, free: 13.61 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 (81): * Single equations (assignments): 78 * 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.004303/0.8135, allocations: 1.979 MB / 0.8652 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.8151, allocations: 0.6966 MB / 0.8659 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8151, allocations: 7.938 kB / 0.8659 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.816, allocations: 452.3 kB / 0.8663 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.8173, allocations: 281.9 kB / 0.8666 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.8284, allocations: 5.902 MB / 0.8723 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.8289, allocations: 414.3 kB / 0.8727 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007695/0.8296, allocations: 250.2 kB / 0.873 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/0.8302, allocations: 359.3 kB / 0.8733 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.8302, allocations: 0 / 0.8733 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06296/0.8931, allocations: 21.4 MB / 0.8942 GB, free: 14.18 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.65, allocations: 2.75 kB / 0.8942 GB, free: 14.18 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.34859007690102] Failed to read output from testmodel.py, exit status != 0: 13.870826327707618 13.895729095 13.128358321 Calling exit ...