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.001185/0.001185, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001338/0.001338, allocations: 216 kB / 23.04 MB, free: 5.078 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.8099/0.8099, allocations: 134 MB / 447.2 MB, free: 10.22 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.001871/0.001871, allocations: 56.62 kB / 0.6193 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1753, allocations: 85.92 MB / 0.7032 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00623/0.1815, allocations: 4.211 MB / 0.7073 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4939/0.6754, allocations: 154 MB / 0.8577 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008202/0.6762, allocations: 15.88 kB / 0.8577 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006006/0.6768, allocations: 176.9 kB / 0.8579 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.6786, allocations: 499.1 kB / 0.8584 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.6806, allocations: 0.8513 MB / 0.8592 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.6822, allocations: 1.203 MB / 0.8604 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.683, allocations: 453.8 kB / 0.8608 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/0.6838, allocations: 470.3 kB / 0.8612 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.6844, allocations: 454 kB / 0.8617 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.6846, allocations: 104 kB / 0.8618 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.6856, allocations: 0.5046 MB / 0.8623 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.6859, allocations: 279.1 kB / 0.8625 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004692/0.6864, allocations: 0.4973 MB / 0.863 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.6886, allocations: 1.539 MB / 0.8645 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6886, allocations: 0 / 0.8645 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6886, allocations: 0 / 0.8645 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.6886, allocations: 0 / 0.8645 GB, free: 1.316 MB / 0.6231 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.002464/0.6911, allocations: 1.311 MB / 0.8658 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6911, allocations: 12.03 kB / 0.8658 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.73e-05/0.6912, allocations: 26.12 kB / 0.8658 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.6913, allocations: 131.1 kB / 0.866 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.6929, allocations: 236.1 kB / 0.8662 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.6942, allocations: 0.6751 MB / 0.8669 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.6943, allocations: 58 kB / 0.8669 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6944, allocations: 83.94 kB / 0.867 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.6958, allocations: 0.8637 MB / 0.8678 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6959, allocations: 0 / 0.8678 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/0.6959, allocations: 32 kB / 0.8679 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.696, allocations: 20 kB / 0.8679 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.6977, allocations: 1.065 MB / 0.8689 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.7014, allocations: 2.31 MB / 0.8712 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.7026, allocations: 0.6757 MB / 0.8718 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.7031, allocations: 254.7 kB / 0.8721 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.703e-05/0.7032, allocations: 32.67 kB / 0.8721 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000764/0.704, allocations: 427.2 kB / 0.8725 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.325e-06/0.704, allocations: 0 / 0.8725 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72): time 0.002842/0.7068, allocations: 1.002 MB / 0.8735 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.7069, allocations: 192.6 kB / 0.8737 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007868/0.7077, allocations: 0.6136 MB / 0.8743 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.7078, allocations: 37.7 kB / 0.8743 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.7081, allocations: 396.8 kB / 0.8747 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.7083, allocations: 245.9 kB / 0.8749 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.7085, allocations: 138.2 kB / 0.8751 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.7087, allocations: 386.7 kB / 0.8754 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.7091, allocations: 209.2 kB / 0.8756 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.7097, allocations: 318.8 kB / 0.8759 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.7107, allocations: 0.5316 MB / 0.8765 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7107, allocations: 3.938 kB / 0.8765 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001729/0.7124, allocations: 0.7201 MB / 0.8772 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.7124, allocations: 4 kB / 0.8772 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7124, allocations: 0 / 0.8772 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.713, allocations: 80.86 kB / 0.8772 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.7136, allocations: 143.8 kB / 0.8774 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.7158, allocations: 1.525 MB / 0.8789 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.7163, allocations: 72.59 kB / 0.8789 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.7164, allocations: 31.92 kB / 0.879 GB, free: 2.066 MB / 0.6387 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.000408/0.7168, allocations: 253.8 kB / 0.8792 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.717, allocations: 87.41 kB / 0.8793 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.7192, allocations: 0.9956 MB / 0.8803 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.7192, allocations: 8 kB / 0.8803 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7192, allocations: 3.984 kB / 0.8803 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7192, allocations: 3.984 kB / 0.8803 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.7224, allocations: 1.849 MB / 0.8821 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7225, allocations: 0 / 0.8821 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.723, allocations: 143.8 kB / 0.8822 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.7235, allocations: 72.78 kB / 0.8823 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.7235, allocations: 23.98 kB / 0.8823 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.7255, allocations: 1.555 MB / 0.8838 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.7255, allocations: 7.875 kB / 0.8838 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.7274, allocations: 0.9243 MB / 0.8847 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.7279, allocations: 187.1 kB / 0.8849 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.728, allocations: 16 kB / 0.8849 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.7285, allocations: 55.94 kB / 0.885 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.7287, allocations: 64.88 kB / 0.8851 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.7287, allocations: 32.05 kB / 0.8851 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006344/0.7294, allocations: 451 kB / 0.8855 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7294, allocations: 0 / 0.8855 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008332/0.7302, allocations: 291.2 kB / 0.8858 GB, free: 10.86 MB / 0.6544 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.004011/0.7342, allocations: 1.976 MB / 0.8877 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.7358, allocations: 0.7005 MB / 0.8884 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.7358, allocations: 4 kB / 0.8884 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000841/0.7366, allocations: 460.2 kB / 0.8888 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.7378, allocations: 281.5 kB / 0.8891 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.7486, allocations: 5.945 MB / 0.8949 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/0.7493, allocations: 1.011 MB / 0.8959 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008051/0.7501, allocations: 262.2 kB / 0.8962 GB, free: 312 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.7506, allocations: 359.3 kB / 0.8965 GB, free: 15.95 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.7506, allocations: 0 / 0.8965 GB, free: 15.95 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05313/0.8037, allocations: 20.82 MB / 0.9168 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.29, allocations: 14.8 kB / 0.9168 GB, free: 11.29 MB / 0.6856 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: 17.972390627022833] Failed to read output from testmodel.py, exit status != 0: 14.567033626954071 14.583554758 13.891709232 Calling exit ...