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.001317/0.001317, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001549/0.001549, allocations: 216.4 kB / 22.25 MB, free: 5.242 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.809 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.8153/0.8153, allocations: 134 MB / 446.4 MB, free: 9.961 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="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: 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.001982/0.001982, allocations: 68.3 kB / 0.6185 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1654, allocations: 85.91 MB / 0.7024 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006218/0.1716, allocations: 3.829 MB / 0.7061 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5266/0.6982, allocations: 132.6 MB / 0.8356 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006952/0.6989, allocations: 22.31 kB / 0.8356 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.6994, allocations: 172.9 kB / 0.8357 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.7008, allocations: 0.4989 MB / 0.8362 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.7026, allocations: 0.8258 MB / 0.837 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.7038, allocations: 1.218 MB / 0.8382 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.7045, allocations: 486.7 kB / 0.8387 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005674/0.705, allocations: 486.9 kB / 0.8392 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005097/0.7055, allocations: 435.5 kB / 0.8396 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.7057, allocations: 116 kB / 0.8397 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009192/0.7066, allocations: 493.5 kB / 0.8402 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.7069, allocations: 303 kB / 0.8404 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.7073, allocations: 433.8 kB / 0.8409 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.7091, allocations: 1.629 MB / 0.8424 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7091, allocations: 0 / 0.8424 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.426e-06/0.7091, allocations: 4 kB / 0.8425 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.7091, allocations: 0 / 0.8425 GB, free: 3.895 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.002298/0.7114, allocations: 1.366 MB / 0.8438 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.7114, allocations: 8.031 kB / 0.8438 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.7116, allocations: 147.8 kB / 0.8439 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.7134, allocations: 267.9 kB / 0.8442 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.7146, allocations: 0.702 MB / 0.8449 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/0.7147, allocations: 66 kB / 0.8449 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.7148, allocations: 84 kB / 0.845 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.7166, allocations: 1.2 MB / 0.8462 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.7166, allocations: 0 / 0.8462 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.7167, allocations: 43.94 kB / 0.8462 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.7167, allocations: 24.56 kB / 0.8463 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.7185, allocations: 1.073 MB / 0.8473 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.7225, allocations: 2.179 MB / 0.8494 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.7246, allocations: 0.762 MB / 0.8502 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.7251, allocations: 261.3 kB / 0.8504 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.7252, allocations: 32.56 kB / 0.8505 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008786/0.7261, allocations: 0.5305 MB / 0.851 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/0.7261, allocations: 0 / 0.851 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.00299/0.7291, allocations: 1.022 MB / 0.852 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.7292, allocations: 188.6 kB / 0.8522 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/0.73, allocations: 0.6292 MB / 0.8528 GB, free: 9 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.7301, allocations: 45.69 kB / 0.8528 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.7305, allocations: 416.9 kB / 0.8532 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.7307, allocations: 257.9 kB / 0.8535 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.7309, allocations: 134.2 kB / 0.8536 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.7311, allocations: 386.7 kB / 0.8539 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.7317, allocations: 217.2 kB / 0.8542 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/0.7324, allocations: 456.5 kB / 0.8546 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.7335, allocations: 0.5394 MB / 0.8551 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7335, allocations: 3.938 kB / 0.8551 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001874/0.7353, allocations: 0.7397 MB / 0.8558 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7354, allocations: 4 kB / 0.8558 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7354, allocations: 4 kB / 0.8559 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.736, allocations: 87.8 kB / 0.8559 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.7366, allocations: 143.4 kB / 0.8561 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.7387, allocations: 1.516 MB / 0.8576 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.7393, allocations: 89.84 kB / 0.8576 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.7394, allocations: 23.98 kB / 0.8577 GB, free: 3.762 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.0004805/0.7398, allocations: 261.7 kB / 0.8579 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.74, allocations: 79.48 kB / 0.858 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.7423, allocations: 0.9957 MB / 0.859 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7423, allocations: 8 kB / 0.859 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.7423, allocations: 0 / 0.859 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.7423, allocations: 7.922 kB / 0.859 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.7457, allocations: 1.775 MB / 0.8607 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7457, allocations: 0 / 0.8607 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.7463, allocations: 151.8 kB / 0.8609 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/0.7467, allocations: 68.78 kB / 0.8609 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.7468, allocations: 27.97 kB / 0.8609 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.7487, allocations: 1.555 MB / 0.8625 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7487, allocations: 0 / 0.8625 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.7506, allocations: 0.9282 MB / 0.8634 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.751, allocations: 187.1 kB / 0.8635 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.7511, allocations: 16 kB / 0.8636 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.7517, allocations: 55.94 kB / 0.8636 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.7518, allocations: 64.88 kB / 0.8637 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.7519, allocations: 27.98 kB / 0.8637 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006024/0.7525, allocations: 463 kB / 0.8641 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7525, allocations: 0 / 0.8641 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008299/0.7533, allocations: 310.8 kB / 0.8644 GB, free: 12.61 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.004101/0.7574, allocations: 2.004 MB / 0.8664 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.759, allocations: 0.72 MB / 0.8671 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.759, allocations: 0 / 0.8671 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008791/0.7599, allocations: 472.2 kB / 0.8676 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.7611, allocations: 284.8 kB / 0.8678 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.772, allocations: 6.145 MB / 0.8738 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.7725, allocations: 439.1 kB / 0.8742 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008613/0.7734, allocations: 262.3 kB / 0.8745 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.774, allocations: 383.3 kB / 0.8749 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/0.774, allocations: 0 / 0.8749 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06612/0.8401, allocations: 22.2 MB / 0.8965 GB, free: 12.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.65, allocations: 3.938 kB / 0.8965 GB, free: 12.02 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.35903196502477] Failed to read output from testmodel.py, exit status != 0: 13.869835434947163 13.885271996 13.17321067 Calling exit ...