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.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.001783/0.001783, allocations: 116.3 kB / 17.13 MB, free: 5.941 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.001942/0.001942, allocations: 196.7 kB / 20.08 MB, free: 3.008 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.563/1.563, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8669/0.8669, allocations: 129.2 MB / 432.5 MB, free: 13.05 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.83 kB / 0.5987 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3898, allocations: 83.44 MB / 0.6802 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005345/0.3952, allocations: 5.145 MB / 0.6852 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1845/0.5796, allocations: 151.1 MB / 0.8328 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.581, allocations: 23.88 kB / 0.8328 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000745/0.5818, allocations: 206.1 kB / 0.833 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.5841, allocations: 0.5665 MB / 0.8335 GB, free: 376 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.5864, allocations: 0.8454 MB / 0.8344 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00223/0.5886, allocations: 1.444 MB / 0.8358 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008655/0.5895, allocations: 475.9 kB / 0.8362 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.5903, allocations: 0.5178 MB / 0.8367 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007191/0.591, allocations: 0.5446 MB / 0.8373 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.5912, allocations: 124 kB / 0.8374 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.5923, allocations: 495.6 kB / 0.8378 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.5926, allocations: 319 kB / 0.8382 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005791/0.5932, allocations: 0.6024 MB / 0.8387 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.5956, allocations: 1.742 MB / 0.8404 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.5956, allocations: 4 kB / 0.8404 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5956, allocations: 0 / 0.8404 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.5956, allocations: 4 kB / 0.8405 GB, free: 9.246 MB / 0.6544 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.002847/0.5984, allocations: 1.541 MB / 0.842 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5985, allocations: 8.031 kB / 0.842 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.5987, allocations: 148.1 kB / 0.8421 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5998, allocations: 224 kB / 0.8423 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.6011, allocations: 0.7893 MB / 0.8431 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.6012, allocations: 74 kB / 0.8432 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.6013, allocations: 88 kB / 0.8432 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.6031, allocations: 1.007 MB / 0.8442 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.6032, allocations: 0 / 0.8442 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.6032, allocations: 39.98 kB / 0.8443 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.6033, allocations: 24 kB / 0.8443 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.6053, allocations: 1.179 MB / 0.8454 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004896/0.6102, allocations: 2.96 MB / 0.8483 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.6127, allocations: 0.929 MB / 0.8492 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.6133, allocations: 298.6 kB / 0.8495 GB, free: 15.63 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.6134, allocations: 24.61 kB / 0.8495 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009905/0.6144, allocations: 0.4992 MB / 0.85 GB, free: 15.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.6144, allocations: 4 kB / 0.85 GB, free: 15.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003438/0.6178, allocations: 1.235 MB / 0.8512 GB, free: 13.83 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.6179, allocations: 196.6 kB / 0.8514 GB, free: 13.59 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.6189, allocations: 0.6372 MB / 0.8521 GB, free: 12.95 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.619, allocations: 41.7 kB / 0.8521 GB, free: 12.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.6194, allocations: 432.9 kB / 0.8525 GB, free: 12.47 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.6197, allocations: 277.6 kB / 0.8528 GB, free: 12.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.6199, allocations: 154.6 kB / 0.8529 GB, free: 12.04 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.6201, allocations: 390.8 kB / 0.8533 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.6207, allocations: 253.9 kB / 0.8535 GB, free: 11.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.6214, allocations: 370.5 kB / 0.8539 GB, free: 11.01 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.6226, allocations: 0.6033 MB / 0.8545 GB, free: 10.39 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6226, allocations: 0 / 0.8545 GB, free: 10.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002075/0.6247, allocations: 0.8257 MB / 0.8553 GB, free: 9.559 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6247, allocations: 10.03 kB / 0.8553 GB, free: 9.551 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6247, allocations: 0 / 0.8553 GB, free: 9.551 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.6253, allocations: 88.8 kB / 0.8554 GB, free: 9.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.626, allocations: 155.8 kB / 0.8555 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.6283, allocations: 1.627 MB / 0.8571 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.629, allocations: 103.5 kB / 0.8572 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.6291, allocations: 31.98 kB / 0.8572 GB, free: 7.402 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: 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.0004808/0.6296, allocations: 266.3 kB / 0.8575 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.6297, allocations: 87.44 kB / 0.8576 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.6323, allocations: 1.105 MB / 0.8587 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6323, allocations: 8 kB / 0.8587 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.6323, allocations: 0 / 0.8587 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6323, allocations: 3.984 kB / 0.8587 GB, free: 5.914 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.6359, allocations: 2.009 MB / 0.8606 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6359, allocations: 0 / 0.8606 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.6365, allocations: 151.7 kB / 0.8608 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.6369, allocations: 76.78 kB / 0.8608 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.637, allocations: 27.97 kB / 0.8609 GB, free: 3.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.6391, allocations: 1.659 MB / 0.8625 GB, free: 1.789 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6391, allocations: 0 / 0.8625 GB, free: 1.789 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.6414, allocations: 1.03 MB / 0.8635 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.6419, allocations: 276.2 kB / 0.8638 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.6421, allocations: 23.98 kB / 0.8638 GB, free: 436 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.6427, allocations: 59.94 kB / 0.8638 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6429, allocations: 72.95 kB / 0.8639 GB, free: 304 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.643, allocations: 43.92 kB / 0.864 GB, free: 260 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.3395/0.9825, allocations: 472.9 kB / 0.8644 GB, free: 175.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9825, allocations: 0 / 0.8644 GB, free: 175.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001387/0.9839, allocations: 338.8 kB / 0.8647 GB, free: 175.6 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: 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.004211/0.9881, allocations: 2.072 MB / 0.8668 GB, free: 174.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.99, allocations: 0.7912 MB / 0.8675 GB, free: 174.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.99, allocations: 4.5 kB / 0.8675 GB, free: 174.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009619/0.991, allocations: 0.502 MB / 0.868 GB, free: 174.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.9923, allocations: 307 kB / 0.8683 GB, free: 174.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.004, allocations: 6.444 MB / 0.8746 GB, free: 171.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008439/1.005, allocations: 1.047 MB / 0.8756 GB, free: 170.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00106/1.006, allocations: 276 kB / 0.8759 GB, free: 170.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/1.007, allocations: 399.2 kB / 0.8763 GB, free: 170.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.573e-06/1.007, allocations: 0 / 0.8763 GB, free: 170.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0559/1.062, allocations: 22.39 MB / 0.8981 GB, free: 157.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.25, allocations: 7.875 kB / 0.8981 GB, free: 157.8 MB / 0.67 GB " [Timeout remaining time 646] (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: 17.999790396075696] Failed to read output from testmodel.py, exit status != 0: 14.456173389218748 14.465156547 13.8674366 Calling exit ...