Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.00121/0.00121, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001375/0.001375, allocations: 213 kB / 22.25 MB, free: 5.086 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.988 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.8107/0.8107, allocations: 134 MB / 446.4 MB, free: 10.23 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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001906/0.001906, allocations: 71.11 kB / 0.6185 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1455, allocations: 85.9 MB / 0.7024 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007086/0.1526, allocations: 5.025 MB / 0.7073 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4574/0.61, allocations: 154.3 MB / 0.858 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008668/0.6109, allocations: 27.81 kB / 0.8581 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008/0.6117, allocations: 196.5 kB / 0.8583 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.6136, allocations: 0.5869 MB / 0.8588 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.6159, allocations: 0.9701 MB / 0.8598 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.6178, allocations: 1.573 MB / 0.8613 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.6189, allocations: 0.8296 MB / 0.8621 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.6197, allocations: 0.7279 MB / 0.8628 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000786/0.6205, allocations: 0.7389 MB / 0.8636 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.6207, allocations: 192 kB / 0.8637 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009415/0.6217, allocations: 0.5856 MB / 0.8643 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.622, allocations: 446.6 kB / 0.8647 GB, free: 324 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007022/0.6228, allocations: 0.8239 MB / 0.8655 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.6252, allocations: 2.364 MB / 0.8678 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.6252, allocations: 4 kB / 0.8679 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6252, allocations: 0 / 0.8679 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.6252, allocations: 0 / 0.8679 GB, free: 13.11 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002924/0.6281, allocations: 1.818 MB / 0.8696 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.6282, allocations: 8.031 kB / 0.8696 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.6284, allocations: 219.6 kB / 0.8698 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/0.6313, allocations: 391.5 kB / 0.8702 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6327, allocations: 0.8714 MB / 0.8711 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.6329, allocations: 172 kB / 0.8712 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.6331, allocations: 140 kB / 0.8714 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.6354, allocations: 1.469 MB / 0.8728 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.6355, allocations: 0 / 0.8728 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.6356, allocations: 60 kB / 0.8729 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.6356, allocations: 36 kB / 0.8729 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.638, allocations: 1.498 MB / 0.8744 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00598/0.644, allocations: 3.829 MB / 0.8781 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.6455, allocations: 0.8568 MB / 0.8789 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.6461, allocations: 339.7 kB / 0.8793 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.606e-05/0.6462, allocations: 40.94 kB / 0.8793 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009544/0.6472, allocations: 0.5411 MB / 0.8798 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=93): time 2.054e-06/0.6472, allocations: 4 kB / 0.8798 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93): time 0.003331/0.6505, allocations: 1.298 MB / 0.8811 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.6507, allocations: 196.9 kB / 0.8813 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/0.6516, allocations: 0.7864 MB / 0.882 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.6e-05/0.6517, allocations: 41.7 kB / 0.8821 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.6522, allocations: 0.6024 MB / 0.8827 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.6525, allocations: 329.2 kB / 0.883 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.6527, allocations: 170.6 kB / 0.8832 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6529, allocations: 345.9 kB / 0.8835 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.6535, allocations: 309.8 kB / 0.8838 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/0.6542, allocations: 431.3 kB / 0.8842 GB, free: 12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.6556, allocations: 0.7422 MB / 0.8849 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6556, allocations: 0 / 0.8849 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002177/0.6577, allocations: 0.978 MB / 0.8859 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6578, allocations: 4 kB / 0.8859 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6578, allocations: 0 / 0.8859 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.6584, allocations: 92.8 kB / 0.886 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/0.6592, allocations: 179.8 kB / 0.8861 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.6614, allocations: 1.547 MB / 0.8876 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.662, allocations: 107.4 kB / 0.8877 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.693e-05/0.6621, allocations: 43.91 kB / 0.8878 GB, free: 8.18 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0004719/0.6626, allocations: 313.6 kB / 0.8881 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.6628, allocations: 107.3 kB / 0.8882 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.6656, allocations: 1.289 MB / 0.8894 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6656, allocations: 15.94 kB / 0.8895 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.6656, allocations: 3.938 kB / 0.8895 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6656, allocations: 3.984 kB / 0.8895 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.6697, allocations: 2.484 MB / 0.8919 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6697, allocations: 0 / 0.8919 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/0.6705, allocations: 183.8 kB / 0.8921 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/0.6709, allocations: 68.8 kB / 0.8921 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.671, allocations: 31.97 kB / 0.8922 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.6729, allocations: 1.574 MB / 0.8937 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6729, allocations: 0 / 0.8937 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.6751, allocations: 1.119 MB / 0.8948 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.6756, allocations: 251 kB / 0.895 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.6757, allocations: 31.95 kB / 0.8951 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.6764, allocations: 65.97 kB / 0.8951 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.6765, allocations: 76.84 kB / 0.8952 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.6766, allocations: 39.97 kB / 0.8952 GB, free: 328 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007702/0.6774, allocations: 0.5771 MB / 0.8958 GB, free: 15.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6774, allocations: 0 / 0.8958 GB, free: 15.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009437/0.6783, allocations: 402.6 kB / 0.8962 GB, free: 15.36 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 (107): * Single equations (assignments): 104 * 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.00431/0.6826, allocations: 2.177 MB / 0.8983 GB, free: 13.37 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.6844, allocations: 0.8975 MB / 0.8992 GB, free: 12.46 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6844, allocations: 8.188 kB / 0.8992 GB, free: 12.45 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.6854, allocations: 0.5431 MB / 0.8997 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6866, allocations: 306.4 kB / 0.9 GB, free: 11.62 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.7001, allocations: 8.017 MB / 0.9079 GB, free: 3.441 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/0.7009, allocations: 1.177 MB / 0.909 GB, free: 2.238 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008468/0.7017, allocations: 295.9 kB / 0.9093 GB, free: 1.945 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007955/0.7025, allocations: 0.5656 MB / 0.9098 GB, free: 1.379 MB / 0.67 GB Notification: Performance of SimCode: time 6.12e-07/0.7025, allocations: 0 / 0.9098 GB, free: 1.379 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06718/0.7697, allocations: 26.74 MB / 0.936 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.47, allocations: 12.83 kB / 0.936 GB, free: 6.805 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.003321568015963] Failed to read output from testmodel.py, exit status != 0: 14.700814932817593 14.72015775 14.091256035 Calling exit ...