Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001286/0.001286, allocations: 109 kB / 20.48 MB, free: 1.473 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.00228/0.00228, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.455/1.455, allocations: 230.6 MB / 257.6 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9632/0.9632, allocations: 150 MB / 464 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001989/0.001989, allocations: 62.34 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.183, allocations: 89.17 MB / 0.7291 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007905/0.1909, allocations: 5.214 MB / 0.7342 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5707/0.7616, allocations: 154.2 MB / 0.8848 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.7626, allocations: 23.81 kB / 0.8848 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.7634, allocations: 205 kB / 0.885 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.7655, allocations: 0.5831 MB / 0.8855 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.7678, allocations: 0.8849 MB / 0.8864 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.7698, allocations: 1.468 MB / 0.8878 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.7708, allocations: 471.6 kB / 0.8883 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009049/0.7717, allocations: 0.5412 MB / 0.8888 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.7724, allocations: 0.5523 MB / 0.8894 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.7726, allocations: 132 kB / 0.8895 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.7736, allocations: 0.5191 MB / 0.89 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.7739, allocations: 323 kB / 0.8903 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006028/0.7745, allocations: 0.618 MB / 0.8909 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.7768, allocations: 1.788 MB / 0.8926 GB, free: 15.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7768, allocations: 0 / 0.8926 GB, free: 15.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7768, allocations: 4 kB / 0.8926 GB, free: 15.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.7768, allocations: 4 kB / 0.8927 GB, free: 15.8 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002808/0.7796, allocations: 1.489 MB / 0.8941 GB, free: 14.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7796, allocations: 8.031 kB / 0.8941 GB, free: 14.26 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.731e-05/0.7797, allocations: 26.19 kB / 0.8941 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.7799, allocations: 148.1 kB / 0.8943 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.7817, allocations: 283.9 kB / 0.8946 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.7831, allocations: 0.7384 MB / 0.8953 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.576e-05/0.7831, allocations: 70 kB / 0.8953 GB, free: 12.97 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.7833, allocations: 95.98 kB / 0.8954 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.7851, allocations: 1.007 MB / 0.8964 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.7851, allocations: 0 / 0.8964 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.7852, allocations: 36 kB / 0.8964 GB, free: 11.8 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.7852, allocations: 24 kB / 0.8965 GB, free: 11.78 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.7874, allocations: 1.179 MB / 0.8976 GB, free: 10.59 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.7922, allocations: 2.919 MB / 0.9005 GB, free: 7.531 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/0.7947, allocations: 0.8468 MB / 0.9013 GB, free: 6.68 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.7953, allocations: 287.6 kB / 0.9016 GB, free: 6.395 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/0.7954, allocations: 36.59 kB / 0.9016 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009733/0.7963, allocations: 0.4953 MB / 0.9021 GB, free: 5.844 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.024e-06/0.7963, allocations: 3.938 kB / 0.9021 GB, free: 5.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003454/0.7998, allocations: 1.16 MB / 0.9032 GB, free: 4.676 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.7999, allocations: 192.5 kB / 0.9034 GB, free: 4.441 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/0.8009, allocations: 0.6607 MB / 0.9041 GB, free: 3.773 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/0.8009, allocations: 41.7 kB / 0.9041 GB, free: 3.727 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.8014, allocations: 448.9 kB / 0.9045 GB, free: 3.281 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.8016, allocations: 277.6 kB / 0.9048 GB, free: 3.008 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.8019, allocations: 158.5 kB / 0.9049 GB, free: 2.848 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.8021, allocations: 382.8 kB / 0.9053 GB, free: 2.465 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.8027, allocations: 257.9 kB / 0.9056 GB, free: 2.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.8034, allocations: 366.5 kB / 0.9059 GB, free: 1.824 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.8046, allocations: 0.6039 MB / 0.9065 GB, free: 1.215 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8046, allocations: 0 / 0.9065 GB, free: 1.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002113/0.8067, allocations: 0.8374 MB / 0.9073 GB, free: 376 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.8067, allocations: 7.938 kB / 0.9073 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.8067, allocations: 0 / 0.9073 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.8074, allocations: 84.86 kB / 0.9074 GB, free: 280 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.808, allocations: 155.8 kB / 0.9075 GB, free: 124 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.8104, allocations: 1.527 MB / 0.909 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/0.8111, allocations: 95.44 kB / 0.9091 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.8112, allocations: 31.97 kB / 0.9092 GB, free: 14.35 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.000499/0.8117, allocations: 275.7 kB / 0.9094 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.8119, allocations: 91.44 kB / 0.9095 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.8145, allocations: 1.102 MB / 0.9106 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.8145, allocations: 8 kB / 0.9106 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.8145, allocations: 0 / 0.9106 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.8145, allocations: 3.984 kB / 0.9106 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.8182, allocations: 2 MB / 0.9126 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.8182, allocations: 0 / 0.9126 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.8189, allocations: 156.7 kB / 0.9127 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.8193, allocations: 72.78 kB / 0.9128 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.8194, allocations: 23.98 kB / 0.9128 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.8215, allocations: 1.555 MB / 0.9143 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.8215, allocations: 4.031 kB / 0.9143 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.8237, allocations: 1.026 MB / 0.9153 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.8242, allocations: 207 kB / 0.9155 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.8243, allocations: 16 kB / 0.9155 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/0.825, allocations: 67.92 kB / 0.9156 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.8252, allocations: 76.86 kB / 0.9157 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/0.8253, allocations: 35.98 kB / 0.9157 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000667/0.8259, allocations: 491 kB / 0.9162 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8259, allocations: 0 / 0.9162 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009098/0.8268, allocations: 351 kB / 0.9165 GB, free: 6.621 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004414/0.8313, allocations: 2.083 MB / 0.9185 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.8331, allocations: 0.7962 MB / 0.9193 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.8331, allocations: 4 kB / 0.9193 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.8342, allocations: 0.5041 MB / 0.9198 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.8356, allocations: 298.8 kB / 0.9201 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.8472, allocations: 6.532 MB / 0.9265 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007485/0.848, allocations: 1.044 MB / 0.9275 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008993/0.8489, allocations: 271.1 kB / 0.9278 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/0.8495, allocations: 411.3 kB / 0.9281 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of SimCode: time 8.91e-07/0.8495, allocations: 0 / 0.9281 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06073/0.9103, allocations: 23.24 MB / 0.9508 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.35, allocations: 8.453 kB / 0.9509 GB, free: 3.707 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.36824138596421] Failed to read output from testmodel.py, exit status != 0: 15.638085794984363 15.657396671 14.876860447 Calling exit ...