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.001337/0.001337, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001573/0.001573, allocations: 221.4 kB / 23.03 MB, free: 4.945 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.8416/0.8416, allocations: 134 MB / 447.2 MB, free: 9.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.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.002089/0.002089, allocations: 64.09 kB / 0.6192 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.172, allocations: 85.91 MB / 0.7031 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006469/0.1784, allocations: 3.825 MB / 0.7069 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5493/0.7277, allocations: 132.5 MB / 0.8362 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008485/0.7285, allocations: 21 kB / 0.8362 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008252/0.7294, allocations: 174.3 kB / 0.8364 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.7314, allocations: 0.4918 MB / 0.8369 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.7335, allocations: 0.8288 MB / 0.8377 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.7352, allocations: 1.209 MB / 0.8389 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009661/0.7362, allocations: 0.5023 MB / 0.8394 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008284/0.737, allocations: 483.1 kB / 0.8398 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007755/0.7378, allocations: 488.7 kB / 0.8403 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.7381, allocations: 120 kB / 0.8404 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.7393, allocations: 0.503 MB / 0.8409 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.7397, allocations: 295 kB / 0.8412 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00064/0.7403, allocations: 441.7 kB / 0.8416 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.7428, allocations: 1.621 MB / 0.8432 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7428, allocations: 0 / 0.8432 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7428, allocations: 0 / 0.8432 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.181e-05/0.7428, allocations: 3.938 kB / 0.8432 GB, free: 3.848 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003047/0.7459, allocations: 1.37 MB / 0.8445 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7459, allocations: 8.031 kB / 0.8445 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.191e-05/0.746, allocations: 30.19 kB / 0.8446 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.7462, allocations: 147.7 kB / 0.8447 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.7481, allocations: 263.9 kB / 0.845 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.7495, allocations: 0.6979 MB / 0.8456 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.7495, allocations: 70 kB / 0.8457 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.7496, allocations: 84 kB / 0.8458 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.7515, allocations: 1.2 MB / 0.847 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.7516, allocations: 8.547 kB / 0.847 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.106e-05/0.7517, allocations: 36 kB / 0.847 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.7517, allocations: 23.94 kB / 0.847 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.7536, allocations: 1.124 MB / 0.8481 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.7576, allocations: 2.176 MB / 0.8503 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/0.7597, allocations: 0.7581 MB / 0.851 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.7603, allocations: 263.8 kB / 0.8512 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-05/0.7603, allocations: 24.58 kB / 0.8513 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008712/0.7612, allocations: 0.541 MB / 0.8518 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.404e-06/0.7612, allocations: 0 / 0.8518 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002944/0.7641, allocations: 1.019 MB / 0.8528 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.7643, allocations: 192.5 kB / 0.853 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/0.7651, allocations: 0.6253 MB / 0.8536 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.7652, allocations: 41.7 kB / 0.8536 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.7656, allocations: 424.8 kB / 0.854 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.7658, allocations: 253.9 kB / 0.8543 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.766, allocations: 134.2 kB / 0.8544 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.7662, allocations: 392.8 kB / 0.8548 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.7667, allocations: 221.1 kB / 0.855 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/0.7674, allocations: 455.3 kB / 0.8554 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.7685, allocations: 0.5355 MB / 0.8559 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7685, allocations: 0 / 0.8559 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001853/0.7703, allocations: 0.7396 MB / 0.8567 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7703, allocations: 8 kB / 0.8567 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7703, allocations: 0 / 0.8567 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006325/0.771, allocations: 84.86 kB / 0.8568 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.7716, allocations: 139.8 kB / 0.8569 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.7739, allocations: 1.512 MB / 0.8584 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.7745, allocations: 83.47 kB / 0.8584 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.7746, allocations: 27.98 kB / 0.8585 GB, free: 3.645 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 (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.0003852/0.7749, allocations: 259.9 kB / 0.8587 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.7751, allocations: 83.67 kB / 0.8588 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.7775, allocations: 1.004 MB / 0.8598 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.7775, allocations: 12 kB / 0.8598 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7775, allocations: 0 / 0.8598 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.7775, allocations: 7.922 kB / 0.8598 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/0.7809, allocations: 1.767 MB / 0.8615 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7809, allocations: 4 kB / 0.8615 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/0.7815, allocations: 147.8 kB / 0.8617 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.782, allocations: 64.8 kB / 0.8617 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/0.782, allocations: 23.98 kB / 0.8618 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.7841, allocations: 1.558 MB / 0.8633 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7841, allocations: 32 / 0.8633 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.7861, allocations: 0.9359 MB / 0.8642 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.7865, allocations: 179.2 kB / 0.8644 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.7866, allocations: 23.95 kB / 0.8644 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.7872, allocations: 53.97 kB / 0.8644 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.7874, allocations: 64.88 kB / 0.8645 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.559e-05/0.7874, allocations: 31.98 kB / 0.8645 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007418/0.7882, allocations: 467 kB / 0.865 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7882, allocations: 0 / 0.865 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001102/0.7893, allocations: 299.1 kB / 0.8653 GB, free: 12.49 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 (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.004613/0.7939, allocations: 2.006 MB / 0.8672 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.7957, allocations: 0.7239 MB / 0.8679 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7957, allocations: 0 / 0.8679 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.7967, allocations: 472.2 kB / 0.8684 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.7981, allocations: 287.1 kB / 0.8686 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.8101, allocations: 6.145 MB / 0.8746 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.8106, allocations: 439.1 kB / 0.8751 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000852/0.8115, allocations: 262.2 kB / 0.8753 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/0.8121, allocations: 383.3 kB / 0.8757 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/0.8121, allocations: 0 / 0.8757 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05778/0.8699, allocations: 22.01 MB / 0.8972 GB, free: 12.12 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.59, allocations: 6.641 kB / 0.8972 GB, free: 12.12 MB / 0.67 GB " [Timeout remaining time 645] (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: 18.369563931948505] Failed to read output from testmodel.py, exit status != 0: 14.873830166994594 14.889122198 14.143186861 Calling exit ...