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.00135/0.00135, allocations: 121.4 kB / 17.17 MB, free: 5.977 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.001709/0.001709, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.393/1.393, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8188/0.8188, allocations: 133.9 MB / 443.5 MB, free: 13.91 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.001925/0.001925, allocations: 66.36 kB / 0.6141 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1445, allocations: 85.86 MB / 0.6979 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006386/0.1509, allocations: 4.168 MB / 0.702 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.3201, allocations: 153.9 MB / 0.8523 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000783/0.3209, allocations: 15.88 kB / 0.8523 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.3214, allocations: 178.4 kB / 0.8524 GB, free: 124 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.3229, allocations: 495 kB / 0.8529 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.3248, allocations: 0.8057 MB / 0.8537 GB, free: 14.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.3261, allocations: 1.215 MB / 0.8549 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007097/0.3268, allocations: 465.9 kB / 0.8553 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.3274, allocations: 466.4 kB / 0.8558 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005098/0.3279, allocations: 461.9 kB / 0.8562 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.328, allocations: 104 kB / 0.8563 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008644/0.3289, allocations: 0.4917 MB / 0.8568 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.3291, allocations: 275.1 kB / 0.8571 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.3296, allocations: 0.5012 MB / 0.8576 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.3313, allocations: 1.531 MB / 0.859 GB, free: 9.328 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3313, allocations: 4 kB / 0.8591 GB, free: 9.324 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3313, allocations: 4 kB / 0.8591 GB, free: 9.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.3313, allocations: 0 / 0.8591 GB, free: 9.32 MB / 0.67 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.002167/0.3335, allocations: 1.387 MB / 0.8604 GB, free: 7.875 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3335, allocations: 9.703 kB / 0.8604 GB, free: 7.867 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.674e-05/0.3336, allocations: 22.19 kB / 0.8604 GB, free: 7.848 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.3337, allocations: 139.1 kB / 0.8606 GB, free: 7.703 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.3354, allocations: 236.1 kB / 0.8608 GB, free: 7.473 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.3365, allocations: 0.7463 MB / 0.8615 GB, free: 6.68 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.3365, allocations: 58 kB / 0.8616 GB, free: 6.625 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.3366, allocations: 84 kB / 0.8617 GB, free: 6.543 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.338, allocations: 0.8657 MB / 0.8625 GB, free: 5.637 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3381, allocations: 0 / 0.8625 GB, free: 5.637 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.3381, allocations: 32 kB / 0.8625 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.3382, allocations: 20 kB / 0.8626 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.3399, allocations: 1.073 MB / 0.8636 GB, free: 4.516 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.3434, allocations: 2.36 MB / 0.8659 GB, free: 2.086 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.3447, allocations: 0.7551 MB / 0.8666 GB, free: 1.309 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.3452, allocations: 254.5 kB / 0.8669 GB, free: 1.051 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.3452, allocations: 28.53 kB / 0.8669 GB, free: 1.023 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007465/0.346, allocations: 435.4 kB / 0.8673 GB, free: 0.582 MB / 0.67 GB Notification: Performance of pre-optimization done (n=72): time 1.753e-06/0.346, allocations: 0 / 0.8673 GB, free: 0.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=72): time 0.3024/0.6484, allocations: 1.065 MB / 0.8684 GB, free: 169.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.6485, allocations: 191.5 kB / 0.8686 GB, free: 169.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.6495, allocations: 0.6204 MB / 0.8692 GB, free: 169.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.6496, allocations: 37.92 kB / 0.8692 GB, free: 169.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.6499, allocations: 387.4 kB / 0.8696 GB, free: 169 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.6501, allocations: 255.2 kB / 0.8698 GB, free: 168.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.6504, allocations: 127.3 kB / 0.8699 GB, free: 168.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6505, allocations: 386.3 kB / 0.8703 GB, free: 168.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.651, allocations: 213.6 kB / 0.8705 GB, free: 168.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.6516, allocations: 318.4 kB / 0.8708 GB, free: 168.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.6526, allocations: 0.5243 MB / 0.8713 GB, free: 168 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6526, allocations: 0.875 kB / 0.8713 GB, free: 168 MB / 0.67 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001758/0.6543, allocations: 0.7259 MB / 0.872 GB, free: 167.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6544, allocations: 6.938 kB / 0.872 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6544, allocations: 4.625 kB / 0.872 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.655, allocations: 80.69 kB / 0.8721 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.6556, allocations: 137.6 kB / 0.8722 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.6574, allocations: 1.629 MB / 0.8738 GB, free: 166.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.658, allocations: 75.47 kB / 0.8739 GB, free: 166.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.658, allocations: 30.8 kB / 0.8739 GB, free: 166.1 MB / 0.67 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.0003595/0.6584, allocations: 253 kB / 0.8742 GB, free: 165.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.6585, allocations: 85.56 kB / 0.8743 GB, free: 165.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.6608, allocations: 0.998 MB / 0.8752 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.6608, allocations: 9.766 kB / 0.8752 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.6608, allocations: 0.7031 kB / 0.8752 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.6608, allocations: 9.266 kB / 0.8753 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.6639, allocations: 1.873 MB / 0.8771 GB, free: 164.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.6639, allocations: 0 / 0.8771 GB, free: 164.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.6644, allocations: 143.3 kB / 0.8772 GB, free: 164.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.6648, allocations: 76.03 kB / 0.8773 GB, free: 164.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/0.6649, allocations: 25.3 kB / 0.8773 GB, free: 164.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.6664, allocations: 1.67 MB / 0.8789 GB, free: 163 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6664, allocations: 0 / 0.8789 GB, free: 163 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.6683, allocations: 0.9175 MB / 0.8798 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.6686, allocations: 266.5 kB / 0.8801 GB, free: 162.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.6687, allocations: 20.39 kB / 0.8801 GB, free: 162.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/0.6693, allocations: 54.95 kB / 0.8802 GB, free: 162.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6694, allocations: 60.86 kB / 0.8802 GB, free: 162.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.6695, allocations: 33.41 kB / 0.8803 GB, free: 162.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006326/0.6701, allocations: 450.7 kB / 0.8807 GB, free: 162.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.6701, allocations: 0 / 0.8807 GB, free: 162.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000928/0.671, allocations: 289.2 kB / 0.881 GB, free: 162.1 MB / 0.67 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.003674/0.6747, allocations: 1.971 MB / 0.8829 GB, free: 161.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.6761, allocations: 0.7025 MB / 0.8836 GB, free: 160.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.6761, allocations: 1.375 kB / 0.8836 GB, free: 160.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.6768, allocations: 468.3 kB / 0.884 GB, free: 160.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6779, allocations: 297.3 kB / 0.8843 GB, free: 160.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008154/0.686, allocations: 5.945 MB / 0.8901 GB, free: 156 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.6863, allocations: 1.003 MB / 0.8911 GB, free: 155 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005965/0.6869, allocations: 255.5 kB / 0.8913 GB, free: 154.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.6873, allocations: 358.6 kB / 0.8917 GB, free: 154.4 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.6873, allocations: 0 / 0.8917 GB, free: 154.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.7293, allocations: 20.31 MB / 0.9115 GB, free: 134.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.5, allocations: 7.234 kB / 0.9115 GB, free: 134.4 MB / 0.67 GB " [Timeout remaining time 646] (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: 17.247570556995925] Failed to read output from testmodel.py, exit status != 0: 14.006460495991632 13.761266487 13.427762685 Calling exit ...