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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001337, allocations: 107.6 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 191.7 kB / 19.35 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 179] 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.7984/0.7984, allocations: 132.2 MB / 429.4 MB, free: 5.961 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 67.92 kB / 0.5894 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1313, allocations: 80.21 MB / 0.6677 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006002/0.1373, allocations: 4.15 MB / 0.6717 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4456/0.5829, allocations: 150.5 MB / 0.8187 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.5836, allocations: 15.53 kB / 0.8187 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.584, allocations: 168.9 kB / 0.8189 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.5853, allocations: 473.7 kB / 0.8193 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.5867, allocations: 0.7964 MB / 0.8201 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008806/0.5876, allocations: 1.202 MB / 0.8213 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.5884, allocations: 0.6748 MB / 0.8219 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.5888, allocations: 456 kB / 0.8224 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.5893, allocations: 487.2 kB / 0.8228 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.5894, allocations: 112.5 kB / 0.8229 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.5902, allocations: 483.1 kB / 0.8234 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.5904, allocations: 293.8 kB / 0.8237 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.5908, allocations: 0.5231 MB / 0.8242 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.5922, allocations: 1.587 MB / 0.8257 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5922, allocations: 0 / 0.8257 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5922, allocations: 0 / 0.8257 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.5923, allocations: 0 / 0.8257 GB, free: 10.08 MB / 0.5919 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.002146/0.5944, allocations: 1.416 MB / 0.8271 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5945, allocations: 8.094 kB / 0.8271 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.5946, allocations: 143.4 kB / 0.8273 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.5957, allocations: 208.6 kB / 0.8275 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.5968, allocations: 0.7515 MB / 0.8282 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.5969, allocations: 71.12 kB / 0.8283 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.597, allocations: 89.98 kB / 0.8284 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.5985, allocations: 0.9454 MB / 0.8293 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.5986, allocations: 7.938 kB / 0.8293 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.24e-05/0.5987, allocations: 38.34 kB / 0.8293 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5987, allocations: 24.19 kB / 0.8294 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.6004, allocations: 1.12 MB / 0.8304 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.6039, allocations: 2.45 MB / 0.8328 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.6061, allocations: 0.8818 MB / 0.8337 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.6066, allocations: 293.8 kB / 0.834 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.6067, allocations: 33.36 kB / 0.834 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007564/0.6074, allocations: 431.4 kB / 0.8344 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/0.6074, allocations: 0 / 0.8344 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.002906/0.6103, allocations: 1.102 MB / 0.8355 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.6105, allocations: 187.8 kB / 0.8357 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.6111, allocations: 0.6015 MB / 0.8363 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.6112, allocations: 38.61 kB / 0.8363 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.6115, allocations: 407.7 kB / 0.8367 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.6117, allocations: 256.9 kB / 0.8369 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.6119, allocations: 135.8 kB / 0.8371 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.6122, allocations: 391.6 kB / 0.8374 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.6126, allocations: 216.7 kB / 0.8376 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.6132, allocations: 332.2 kB / 0.838 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.6142, allocations: 0.5385 MB / 0.8385 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6142, allocations: 0 / 0.8385 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001706/0.616, allocations: 0.7349 MB / 0.8392 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.616, allocations: 5.125 kB / 0.8392 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.616, allocations: 2.75 kB / 0.8392 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005683/0.6166, allocations: 83.58 kB / 0.8393 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.6171, allocations: 141.2 kB / 0.8394 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.6193, allocations: 1.634 MB / 0.841 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.6199, allocations: 83 kB / 0.8411 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.6199, allocations: 23.17 kB / 0.8411 GB, free: 15.21 MB / 0.6075 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.0003889/0.6203, allocations: 267.7 kB / 0.8414 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.6205, allocations: 80.92 kB / 0.8415 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.6227, allocations: 0.9926 MB / 0.8424 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.6227, allocations: 7.469 kB / 0.8424 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.6227, allocations: 6.156 kB / 0.8424 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.6227, allocations: 11.92 kB / 0.8425 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.6258, allocations: 1.9 MB / 0.8443 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6258, allocations: 2.125 kB / 0.8443 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.6264, allocations: 142.7 kB / 0.8444 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004202/0.6268, allocations: 74.59 kB / 0.8445 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.6269, allocations: 22.8 kB / 0.8445 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.6288, allocations: 1.662 MB / 0.8462 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6288, allocations: 0 / 0.8462 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.6306, allocations: 0.9322 MB / 0.8471 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.6309, allocations: 255.5 kB / 0.8473 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.631, allocations: 17.03 kB / 0.8473 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.6316, allocations: 65.72 kB / 0.8474 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.6317, allocations: 62.91 kB / 0.8475 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.675e-05/0.6318, allocations: 28.3 kB / 0.8475 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005002/0.6323, allocations: 440.9 kB / 0.8479 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6323, allocations: 0 / 0.8479 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006869/0.633, allocations: 305.5 kB / 0.8482 GB, free: 10.22 MB / 0.6075 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.003734/0.6367, allocations: 1.97 MB / 0.8501 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.6382, allocations: 0.7416 MB / 0.8508 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6382, allocations: 2.781 kB / 0.8508 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.6391, allocations: 495.8 kB / 0.8513 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6402, allocations: 281.3 kB / 0.8516 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.6508, allocations: 6.085 MB / 0.8575 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.6515, allocations: 1.011 MB / 0.8585 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007962/0.6523, allocations: 264.1 kB / 0.8588 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/0.6528, allocations: 379.2 kB / 0.8591 GB, free: 468 kB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.6529, allocations: 0 / 0.8591 GB, free: 468 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/0.709, allocations: 20.4 MB / 0.8791 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.92, allocations: 6.672 kB / 0.8791 GB, free: 12.32 MB / 0.6387 GB " [Timeout remaining time 647] (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: 16.349448127904907] Failed to read output from testmodel.py, exit status != 0: 13.11845045001246 13.133035019 12.53822046 Calling exit ...