Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001886/0.001886, allocations: 110.4 kB / 16.46 MB, free: 6.504 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.002134/0.002134, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.126/1.126, allocations: 175.8 MB / 478.4 MB, free: 8.434 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.11 kB / 0.6652 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.186, allocations: 94.54 MB / 0.7575 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.3673/0.5532, allocations: 5.161 MB / 0.7626 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1952/0.7484, allocations: 151.1 MB / 0.9101 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.7499, allocations: 15.94 kB / 0.9101 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.7506, allocations: 198.1 kB / 0.9103 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.7528, allocations: 0.5785 MB / 0.9109 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.7552, allocations: 0.8436 MB / 0.9117 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.7572, allocations: 1.445 MB / 0.9131 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008556/0.758, allocations: 476.5 kB / 0.9136 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.7589, allocations: 0.5178 MB / 0.9141 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.7596, allocations: 0.5445 MB / 0.9146 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.7598, allocations: 128 kB / 0.9147 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.7609, allocations: 0.4917 MB / 0.9152 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.7613, allocations: 315 kB / 0.9155 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.7619, allocations: 0.6025 MB / 0.9161 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.7642, allocations: 1.745 MB / 0.9178 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7642, allocations: 0 / 0.9178 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7642, allocations: 0 / 0.9178 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.7642, allocations: 0 / 0.9178 GB, free: 3.902 MB / 0.7012 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.002958/0.7672, allocations: 1.541 MB / 0.9193 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.7672, allocations: 12.03 kB / 0.9193 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.7674, allocations: 152.8 kB / 0.9195 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.7685, allocations: 216 kB / 0.9197 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.77, allocations: 0.7893 MB / 0.9205 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.7701, allocations: 74 kB / 0.9205 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.7702, allocations: 92 kB / 0.9206 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.772, allocations: 1.007 MB / 0.9216 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.772, allocations: 0 / 0.9216 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.7721, allocations: 36.88 kB / 0.9216 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.7721, allocations: 24 kB / 0.9217 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.7743, allocations: 1.175 MB / 0.9228 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004839/0.7792, allocations: 2.983 MB / 0.9257 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.7817, allocations: 0.9224 MB / 0.9266 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/0.7823, allocations: 282.7 kB / 0.9269 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.938e-05/0.7824, allocations: 36.59 kB / 0.9269 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.7834, allocations: 0.5047 MB / 0.9274 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.7834, allocations: 3.938 kB / 0.9274 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.003648/0.787, allocations: 1.233 MB / 0.9286 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.7872, allocations: 192.6 kB / 0.9288 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.7883, allocations: 0.6411 MB / 0.9294 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.7884, allocations: 37.7 kB / 0.9295 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.7889, allocations: 440.9 kB / 0.9299 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.7892, allocations: 277.7 kB / 0.9302 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.7895, allocations: 146.6 kB / 0.9303 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002401/0.7897, allocations: 386.8 kB / 0.9307 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.7903, allocations: 257.9 kB / 0.9309 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.791, allocations: 366.5 kB / 0.9313 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.7922, allocations: 0.6033 MB / 0.9318 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.7922, allocations: 1.25 kB / 0.9318 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002326/0.7945, allocations: 0.8335 MB / 0.9327 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7945, allocations: 4 kB / 0.9327 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.7945, allocations: 0 / 0.9327 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.7951, allocations: 84.86 kB / 0.9327 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.7958, allocations: 151.8 kB / 0.9329 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.7983, allocations: 1.646 MB / 0.9345 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/0.7991, allocations: 98.38 kB / 0.9346 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.7992, allocations: 31.97 kB / 0.9346 GB, free: 2.062 MB / 0.7169 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.0005937/0.7998, allocations: 277.6 kB / 0.9349 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.8001, allocations: 87.44 kB / 0.935 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.8029, allocations: 1.096 MB / 0.936 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.8029, allocations: 8 kB / 0.936 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8029, allocations: 0.875 kB / 0.936 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.8029, allocations: 11.97 kB / 0.9361 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/0.8069, allocations: 2.001 MB / 0.938 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.8069, allocations: 3.984 kB / 0.938 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.8076, allocations: 147.8 kB / 0.9382 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.808, allocations: 72.78 kB / 0.9382 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.8081, allocations: 31.98 kB / 0.9383 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.8104, allocations: 1.666 MB / 0.9399 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8104, allocations: 3.938 kB / 0.9399 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.8129, allocations: 1.014 MB / 0.9409 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.8135, allocations: 280.2 kB / 0.9411 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.8137, allocations: 16 kB / 0.9412 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.8144, allocations: 71.92 kB / 0.9412 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.8146, allocations: 76.97 kB / 0.9413 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/0.8147, allocations: 39.92 kB / 0.9413 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007518/0.8154, allocations: 467 kB / 0.9418 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8154, allocations: 0 / 0.9418 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001084/0.8165, allocations: 343 kB / 0.9421 GB, free: 10.13 MB / 0.7325 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.004651/0.8212, allocations: 2.079 MB / 0.9441 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.8231, allocations: 0.7962 MB / 0.9449 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.8231, allocations: 0 / 0.9449 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.8241, allocations: 0.5002 MB / 0.9454 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.8256, allocations: 308.2 kB / 0.9457 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.8378, allocations: 6.448 MB / 0.952 GB, free: 20 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009441/0.8388, allocations: 1.043 MB / 0.953 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009833/0.8397, allocations: 266.9 kB / 0.9533 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006749/0.8404, allocations: 407.2 kB / 0.9537 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.8404, allocations: 0 / 0.9537 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07297/0.9134, allocations: 22.38 MB / 0.9755 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.4, allocations: 9.891 kB / 0.9755 GB, free: 8.215 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.538566918112338] Failed to read output from testmodel.py, exit status != 0: 14.610082899220288 14.62601374 13.858487269 Calling exit ...