Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.00127/0.00127, allocations: 118.9 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.001357/0.001357, 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.8444/0.8444, allocations: 133.9 MB / 443.5 MB, free: 13.87 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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.002002/0.002002, allocations: 64.02 kB / 0.6141 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1491, allocations: 85.85 MB / 0.6979 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006908/0.156, allocations: 4.218 MB / 0.702 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1921/0.3481, allocations: 153.9 MB / 0.8523 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009811/0.3491, allocations: 23.81 kB / 0.8523 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.3497, allocations: 170.4 kB / 0.8525 GB, free: 136 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.3513, allocations: 0.492 MB / 0.853 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.3533, allocations: 0.8126 MB / 0.8538 GB, free: 14.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3546, allocations: 1.211 MB / 0.8549 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007919/0.3553, allocations: 0.5188 MB / 0.8554 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/0.356, allocations: 482.3 kB / 0.8559 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.3565, allocations: 493.8 kB / 0.8564 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3566, allocations: 116 kB / 0.8565 GB, free: 12.01 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009126/0.3576, allocations: 0.5113 MB / 0.857 GB, free: 11.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.3578, allocations: 295 kB / 0.8573 GB, free: 11.21 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.3583, allocations: 0.5323 MB / 0.8578 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.3602, allocations: 1.63 MB / 0.8594 GB, free: 9.039 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3602, allocations: 4 kB / 0.8594 GB, free: 9.035 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3603, allocations: 0 / 0.8594 GB, free: 9.035 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.3603, allocations: 0 / 0.8594 GB, free: 9.035 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002414/0.3627, allocations: 1.437 MB / 0.8608 GB, free: 7.535 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3627, allocations: 9.703 kB / 0.8608 GB, free: 7.527 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.725e-05/0.3628, allocations: 26.19 kB / 0.8608 GB, free: 7.504 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.3629, allocations: 135.8 kB / 0.8609 GB, free: 7.363 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.3647, allocations: 279.9 kB / 0.8612 GB, free: 7.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.3659, allocations: 0.7697 MB / 0.862 GB, free: 6.277 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.366, allocations: 66 kB / 0.862 GB, free: 6.215 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.3661, allocations: 84 kB / 0.8621 GB, free: 6.133 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.3678, allocations: 0.941 MB / 0.863 GB, free: 5.152 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3678, allocations: 3.984 kB / 0.863 GB, free: 5.148 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/0.3679, allocations: 40 kB / 0.8631 GB, free: 5.109 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.3679, allocations: 27.94 kB / 0.8631 GB, free: 5.082 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.3697, allocations: 1.12 MB / 0.8642 GB, free: 3.965 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.3735, allocations: 2.469 MB / 0.8666 GB, free: 1.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.3757, allocations: 0.8484 MB / 0.8674 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.3762, allocations: 250.7 kB / 0.8677 GB, free: 316 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.846e-05/0.3763, allocations: 40.61 kB / 0.8677 GB, free: 276 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3258/0.702, allocations: 430.5 kB / 0.8681 GB, free: 169.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=73): time 4.368e-06/0.7021, allocations: 0 / 0.8681 GB, free: 169.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=73): time 0.003307/0.7054, allocations: 1.094 MB / 0.8692 GB, free: 169.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.7054, allocations: 190.2 kB / 0.8694 GB, free: 169 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008827/0.7063, allocations: 0.6257 MB / 0.87 GB, free: 168.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.7064, allocations: 37.77 kB / 0.87 GB, free: 168.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.7067, allocations: 416.5 kB / 0.8704 GB, free: 168.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.7068, allocations: 252.5 kB / 0.8707 GB, free: 168.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.7071, allocations: 135.8 kB / 0.8708 GB, free: 168.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7072, allocations: 398.1 kB / 0.8712 GB, free: 167.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.7078, allocations: 218.3 kB / 0.8714 GB, free: 167.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.7083, allocations: 327.2 kB / 0.8717 GB, free: 167.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.7094, allocations: 0.535 MB / 0.8722 GB, free: 167.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7094, allocations: 3.969 kB / 0.8722 GB, free: 167.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001858/0.7113, allocations: 0.7368 MB / 0.8729 GB, free: 167.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.7113, allocations: 5.219 kB / 0.8729 GB, free: 167.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.7113, allocations: 1.469 kB / 0.8729 GB, free: 167.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.7119, allocations: 92.95 kB / 0.873 GB, free: 167.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.7125, allocations: 139.7 kB / 0.8732 GB, free: 167.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.7143, allocations: 1.629 MB / 0.8747 GB, free: 165.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.7149, allocations: 76.41 kB / 0.8748 GB, free: 165.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.7149, allocations: 30.72 kB / 0.8748 GB, free: 165.5 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 (76): * Single equations (assignments): 75 * 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.0003842/0.7153, allocations: 261.9 kB / 0.8751 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.7155, allocations: 81.66 kB / 0.8752 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.718, allocations: 0.9982 MB / 0.8762 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.718, allocations: 12.59 kB / 0.8762 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.718, allocations: 0.9062 kB / 0.8762 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.718, allocations: 4.828 kB / 0.8762 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/0.722, allocations: 1.914 MB / 0.878 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.722, allocations: 0.75 kB / 0.878 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.7227, allocations: 148.8 kB / 0.8782 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/0.7231, allocations: 72.02 kB / 0.8782 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.7232, allocations: 28.64 kB / 0.8783 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.7249, allocations: 1.666 MB / 0.8799 GB, free: 162.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7249, allocations: 0.5 kB / 0.8799 GB, free: 162.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.7271, allocations: 0.9295 MB / 0.8808 GB, free: 162 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.7275, allocations: 262.8 kB / 0.8811 GB, free: 161.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.7276, allocations: 21.19 kB / 0.8811 GB, free: 161.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.7282, allocations: 55.53 kB / 0.8811 GB, free: 161.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.7284, allocations: 60.58 kB / 0.8812 GB, free: 161.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.7284, allocations: 32.23 kB / 0.8812 GB, free: 161.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007376/0.7292, allocations: 460.6 kB / 0.8817 GB, free: 161.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7292, allocations: 3.391 kB / 0.8817 GB, free: 161.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001032/0.7302, allocations: 307.6 kB / 0.882 GB, free: 161.5 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 (85): * Single equations (assignments): 82 * 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.003722/0.7339, allocations: 1.974 MB / 0.8839 GB, free: 160.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.7356, allocations: 0.7127 MB / 0.8846 GB, free: 160.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7356, allocations: 4.562 kB / 0.8846 GB, free: 160.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008624/0.7364, allocations: 476.7 kB / 0.885 GB, free: 160 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.7376, allocations: 296.5 kB / 0.8853 GB, free: 159.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008814/0.7464, allocations: 6.142 MB / 0.8913 GB, free: 154.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.7468, allocations: 1.019 MB / 0.8923 GB, free: 153.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006316/0.7474, allocations: 266.7 kB / 0.8926 GB, free: 153.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.7478, allocations: 379.3 kB / 0.8929 GB, free: 153 MB / 0.67 GB Notification: Performance of SimCode: time 5.72e-07/0.7478, allocations: 0 / 0.8929 GB, free: 153 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06399/0.8118, allocations: 20.81 MB / 0.9133 GB, free: 132.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.68, allocations: 4.062 kB / 0.9133 GB, free: 132.5 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.630817755998578] Failed to read output from testmodel.py, exit status != 0: 14.22621051495662 13.944448611 13.582017379 Calling exit ...