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.001818/0.001818, allocations: 78.88 kB / 19.76 MB, free: 2.031 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.001412/0.001412, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.8359/0.8359, allocations: 101.3 MB / 361.1 MB, free: 9.508 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [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.002116/0.002116, allocations: 62.28 kB / 0.5356 GB, free: 5.176 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1872, allocations: 85.88 MB / 0.6195 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006701/0.1939, allocations: 3.836 MB / 0.6232 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6279/0.8219, allocations: 132.6 MB / 0.7527 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009001/0.8228, allocations: 23.81 kB / 0.7527 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008339/0.8236, allocations: 171.8 kB / 0.7529 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.8258, allocations: 492.7 kB / 0.7534 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.8286, allocations: 0.8392 MB / 0.7542 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.8308, allocations: 1.213 MB / 0.7554 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.832, allocations: 493.8 kB / 0.7558 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.8331, allocations: 480.5 kB / 0.7563 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.8342, allocations: 436.9 kB / 0.7567 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003883/0.8346, allocations: 114.4 kB / 0.7568 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.8362, allocations: 0.4904 MB / 0.7573 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006124/0.8368, allocations: 293.8 kB / 0.7576 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009457/0.8378, allocations: 439.6 kB / 0.758 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.8404, allocations: 1.624 MB / 0.7596 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.8404, allocations: 1.344 kB / 0.7596 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8404, allocations: 0 / 0.7596 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.8405, allocations: 0 / 0.7596 GB, free: 8.602 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.002752/0.8432, allocations: 1.366 MB / 0.7609 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8433, allocations: 10.56 kB / 0.7609 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.8451, allocations: 269.7 kB / 0.7612 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.8464, allocations: 0.6951 MB / 0.7619 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.8465, allocations: 65.31 kB / 0.7619 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.8466, allocations: 85.47 kB / 0.762 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.8485, allocations: 1.199 MB / 0.7632 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.8485, allocations: 3.938 kB / 0.7632 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.8486, allocations: 35.41 kB / 0.7632 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.8486, allocations: 22.5 kB / 0.7632 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.8504, allocations: 1.083 MB / 0.7643 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.8542, allocations: 2.043 MB / 0.7663 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.8564, allocations: 0.7737 MB / 0.767 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.857, allocations: 256.2 kB / 0.7673 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.107e-05/0.857, allocations: 26.92 kB / 0.7673 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008445/0.8579, allocations: 0.5251 MB / 0.7678 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.785e-06/0.8579, allocations: 0 / 0.7678 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003034/0.8609, allocations: 1.022 MB / 0.7688 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.861, allocations: 189.1 kB / 0.769 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/0.8618, allocations: 0.5501 MB / 0.7695 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.8618, allocations: 42.77 kB / 0.7696 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.8622, allocations: 411.7 kB / 0.77 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.8624, allocations: 259.5 kB / 0.7702 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.8627, allocations: 154.4 kB / 0.7704 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.8629, allocations: 374.8 kB / 0.7707 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.8634, allocations: 240.5 kB / 0.771 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.8641, allocations: 461.5 kB / 0.7714 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.8652, allocations: 0.5696 MB / 0.772 GB, free: 300 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.8652, allocations: 6.594 kB / 0.772 GB, free: 296 kB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001935/0.8671, allocations: 0.7871 MB / 0.7727 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.8671, allocations: 5.062 kB / 0.7727 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8672, allocations: 6.812 kB / 0.7727 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.8678, allocations: 82.77 kB / 0.7728 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.8684, allocations: 152.1 kB / 0.773 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.8708, allocations: 1.506 MB / 0.7744 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.8714, allocations: 70.69 kB / 0.7745 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.8715, allocations: 37.09 kB / 0.7745 GB, free: 14.3 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (84): * Single equations (assignments): 83 * 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.0004565/0.872, allocations: 255.9 kB / 0.7748 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.8721, allocations: 86.23 kB / 0.7749 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.8745, allocations: 0.9958 MB / 0.7758 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.8745, allocations: 7.969 kB / 0.7758 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.8745, allocations: 0 / 0.7758 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.8745, allocations: 3.984 kB / 0.7758 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.8778, allocations: 1.654 MB / 0.7775 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8778, allocations: 3 kB / 0.7775 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.8783, allocations: 145.2 kB / 0.7776 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.8788, allocations: 70.12 kB / 0.7777 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.8789, allocations: 27.7 kB / 0.7777 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.8809, allocations: 1.518 MB / 0.7792 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8809, allocations: 2.531 kB / 0.7792 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.8829, allocations: 0.9297 MB / 0.7801 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.8833, allocations: 176.5 kB / 0.7803 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8834, allocations: 21.64 kB / 0.7803 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.884, allocations: 51.91 kB / 0.7803 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.8841, allocations: 68.98 kB / 0.7804 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.8842, allocations: 29.39 kB / 0.7804 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005151/0.8847, allocations: 402.7 kB / 0.7808 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8847, allocations: 4 kB / 0.7808 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009243/0.8856, allocations: 310.6 kB / 0.7811 GB, free: 9.816 MB / 0.6231 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.002199/0.8878, allocations: 0.6403 MB / 0.7817 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.8895, allocations: 0.7427 MB / 0.7825 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8895, allocations: 0 / 0.7825 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.8904, allocations: 473.7 kB / 0.7829 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.8917, allocations: 276.8 kB / 0.7832 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.896, allocations: 1.759 MB / 0.7849 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.8964, allocations: 436.4 kB / 0.7853 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008007/0.8972, allocations: 258 kB / 0.7856 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.8974, allocations: 103 kB / 0.7856 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.8974, allocations: 0 / 0.7856 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of Templates: time 0.02714/0.9246, allocations: 14.38 MB / 0.7997 GB, free: 12.86 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.993426269036718] Failed to read output from testmodel.py, exit status != 0: 0.933372481027618 0.949109948 0.105313238 Calling exit ...