Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.001386/0.001386, allocations: 78.95 kB / 19.76 MB, free: 1.898 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.001458/0.001458, allocations: 163.7 kB / 23.01 MB, free: 4.574 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 9.25 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.8341/0.8341, allocations: 101.3 MB / 361.1 MB, free: 10.07 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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") [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.002201/0.002201, allocations: 70.75 kB / 0.5356 GB, free: 5.539 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.176/0.1782, allocations: 85.87 MB / 0.6195 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006513/0.1847, allocations: 3.879 MB / 0.6233 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.601/0.7857, allocations: 132.6 MB / 0.7527 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009128/0.7866, allocations: 23.12 kB / 0.7527 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.7873, allocations: 183.5 kB / 0.7529 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.7892, allocations: 0.4948 MB / 0.7534 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.7916, allocations: 0.8371 MB / 0.7542 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001817/0.7934, allocations: 1.241 MB / 0.7554 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008423/0.7943, allocations: 447 kB / 0.7558 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.7953, allocations: 0.6905 MB / 0.7565 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.796, allocations: 416.3 kB / 0.7569 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.7962, allocations: 105.2 kB / 0.757 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.7974, allocations: 494.5 kB / 0.7575 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.7977, allocations: 280.2 kB / 0.7577 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.7982, allocations: 417.1 kB / 0.7581 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.8009, allocations: 1.557 MB / 0.7597 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.8009, allocations: 1.375 kB / 0.7597 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8009, allocations: 0 / 0.7597 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.8009, allocations: 0 / 0.7597 GB, free: 8.789 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003272/0.8042, allocations: 1.337 MB / 0.761 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.8042, allocations: 11.06 kB / 0.761 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.8061, allocations: 282.3 kB / 0.7613 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.8076, allocations: 0.6792 MB / 0.7619 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.8077, allocations: 66 kB / 0.762 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.8078, allocations: 76.84 kB / 0.7621 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.8099, allocations: 1.173 MB / 0.7632 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.8099, allocations: 4 kB / 0.7632 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.81, allocations: 39.59 kB / 0.7632 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.81, allocations: 18.59 kB / 0.7633 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.8119, allocations: 1.073 MB / 0.7643 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.816, allocations: 2.278 MB / 0.7665 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.8177, allocations: 0.7475 MB / 0.7673 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.8182, allocations: 251.1 kB / 0.7675 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.842e-05/0.8182, allocations: 27.66 kB / 0.7675 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009179/0.8192, allocations: 0.5213 MB / 0.768 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 2.415e-06/0.8192, allocations: 0 / 0.768 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.003084/0.8223, allocations: 1.021 MB / 0.769 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.8224, allocations: 192.1 kB / 0.7692 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.8232, allocations: 0.5582 MB / 0.7698 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.283e-05/0.8233, allocations: 42.73 kB / 0.7698 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.8237, allocations: 397.4 kB / 0.7702 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.8239, allocations: 270.8 kB / 0.7704 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.8242, allocations: 153.3 kB / 0.7706 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.8244, allocations: 382.8 kB / 0.7709 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.8249, allocations: 244.5 kB / 0.7712 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/0.8256, allocations: 474.5 kB / 0.7716 GB, free: 460 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.8266, allocations: 0.5866 MB / 0.7722 GB, free: 120 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8266, allocations: 0 / 0.7722 GB, free: 120 kB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001911/0.8285, allocations: 0.8013 MB / 0.773 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8286, allocations: 5.094 kB / 0.773 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8286, allocations: 2.531 kB / 0.773 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.8292, allocations: 86.67 kB / 0.7731 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.8298, allocations: 150.2 kB / 0.7732 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.832, allocations: 1.507 MB / 0.7747 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.8327, allocations: 79.36 kB / 0.7748 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.8328, allocations: 33.59 kB / 0.7748 GB, free: 14.12 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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.0004533/0.8333, allocations: 258.2 kB / 0.775 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.8334, allocations: 82.2 kB / 0.7751 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.8357, allocations: 0.9873 MB / 0.7761 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.8357, allocations: 7.656 kB / 0.7761 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.8357, allocations: 6.641 kB / 0.7761 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.8357, allocations: 3.984 kB / 0.7761 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.8389, allocations: 1.626 MB / 0.7777 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8389, allocations: 4 kB / 0.7777 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.8394, allocations: 144 kB / 0.7778 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.8399, allocations: 77.97 kB / 0.7779 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.8399, allocations: 24.11 kB / 0.7779 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.842, allocations: 1.526 MB / 0.7794 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.842, allocations: 0 / 0.7794 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.8439, allocations: 0.9159 MB / 0.7803 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/0.8443, allocations: 192.4 kB / 0.7805 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.8444, allocations: 17 kB / 0.7805 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.845, allocations: 58.47 kB / 0.7806 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.8451, allocations: 62.5 kB / 0.7806 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.8452, allocations: 29.55 kB / 0.7807 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005487/0.8457, allocations: 405.4 kB / 0.7811 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8457, allocations: 0 / 0.7811 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009979/0.8467, allocations: 307.2 kB / 0.7813 GB, free: 9.66 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 (86): * Single equations (assignments): 83 * 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.002086/0.8488, allocations: 0.6298 MB / 0.782 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.8504, allocations: 0.7489 MB / 0.7827 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8504, allocations: 0 / 0.7827 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008466/0.8512, allocations: 466.7 kB / 0.7831 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.8526, allocations: 293.8 kB / 0.7834 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.8565, allocations: 1.703 MB / 0.7851 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.8569, allocations: 422.8 kB / 0.7855 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007515/0.8576, allocations: 252 kB / 0.7857 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.8579, allocations: 105.6 kB / 0.7858 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.8579, allocations: 0 / 0.7858 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of Templates: time 0.02683/0.8847, allocations: 14.68 MB / 0.8002 GB, free: 12.66 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.846954253967851] Failed to read output from testmodel.py, exit status != 0: 0.8932759091258049 0.9089830600000001 0.104819482 Calling exit ...