Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.001285/0.001285, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001398/0.001398, allocations: 160.3 kB / 23.01 MB, free: 4.598 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.392/1.392, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002608/0.002608, allocations: 237.6 kB / 260 MB, free: 464 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.926/0.926, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003149/0.003149, allocations: 103.8 kB / 0.6473 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3878, allocations: 95.34 MB / 0.7404 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003852/0.3917, allocations: 2.917 MB / 0.7433 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004129/0.3958, allocations: 3.306 MB / 0.7465 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3959, allocations: 6.531 kB / 0.7465 GB, free: 13.31 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3962, allocations: 61.25 kB / 0.7466 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009682/0.3972, allocations: 493.5 kB / 0.747 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.3978, allocations: 383 kB / 0.7474 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000593/0.3984, allocations: 0.7181 MB / 0.7481 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.3986, allocations: 78.11 kB / 0.7482 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.3989, allocations: 303.3 kB / 0.7485 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.3994, allocations: 300 kB / 0.7487 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3995, allocations: 62.31 kB / 0.7488 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.4003, allocations: 0.5441 MB / 0.7493 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.4004, allocations: 171.9 kB / 0.7495 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.4006, allocations: 238.1 kB / 0.7497 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.4018, allocations: 1.061 MB / 0.7508 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4018, allocations: 5.188 kB / 0.7508 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4018, allocations: 0 / 0.7508 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.4018, allocations: 0 / 0.7508 GB, free: 11.34 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001842/0.4037, allocations: 0.8817 MB / 0.7516 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.4037, allocations: 14.84 kB / 0.7516 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.4072, allocations: 0.5794 MB / 0.7522 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4084, allocations: 0.5065 MB / 0.7527 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.4086, allocations: 360 kB / 0.753 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.4087, allocations: 48.38 kB / 0.7531 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.4101, allocations: 0.7552 MB / 0.7538 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4101, allocations: 0.75 kB / 0.7538 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.4102, allocations: 17.56 kB / 0.7538 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4102, allocations: 14.81 kB / 0.7539 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.412, allocations: 0.7653 MB / 0.7546 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.4149, allocations: 1.52 MB / 0.7561 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/0.4178, allocations: 0.8814 MB / 0.7569 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/0.4185, allocations: 340.3 kB / 0.7573 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.4197, allocations: 201.5 kB / 0.7575 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009235/0.4206, allocations: 460 kB / 0.7579 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.655e-06/0.4206, allocations: 3.984 kB / 0.7579 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002642/0.4232, allocations: 1.071 MB / 0.759 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.4233, allocations: 110.1 kB / 0.7591 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.4236, allocations: 361.7 kB / 0.7594 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.4236, allocations: 44.89 kB / 0.7594 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4237, allocations: 225.9 kB / 0.7597 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4239, allocations: 228.2 kB / 0.7599 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.4241, allocations: 147.9 kB / 0.76 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.4241, allocations: 358.3 kB / 0.7604 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/0.4249, allocations: 315.5 kB / 0.7607 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008414/0.4258, allocations: 490.8 kB / 0.7611 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4274, allocations: 0.7204 MB / 0.7618 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4274, allocations: 5.281 kB / 0.7618 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001978/0.4294, allocations: 0.8629 MB / 0.7627 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4294, allocations: 5.531 kB / 0.7627 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4294, allocations: 3.438 kB / 0.7627 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4294, allocations: 9.594 kB / 0.7627 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.4304, allocations: 187.8 kB / 0.7629 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4304, allocations: 13.53 kB / 0.7629 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.4311, allocations: 102.6 kB / 0.763 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.4312, allocations: 32.88 kB / 0.763 GB, free: 3.895 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.4314, allocations: 197.5 kB / 0.7632 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4315, allocations: 50.55 kB / 0.7633 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.434, allocations: 1.128 MB / 0.7644 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4341, allocations: 9.031 kB / 0.7644 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4341, allocations: 0 / 0.7644 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4341, allocations: 7.922 kB / 0.7644 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.4368, allocations: 1.573 MB / 0.7659 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4368, allocations: 0 / 0.7659 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000963/0.4378, allocations: 192.5 kB / 0.7661 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4378, allocations: 7.453 kB / 0.7661 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.4379, allocations: 22.73 kB / 0.7661 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.4379, allocations: 16.06 kB / 0.7661 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4379, allocations: 0 / 0.7661 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.4398, allocations: 1.003 MB / 0.7671 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.4401, allocations: 148.2 kB / 0.7673 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.918e-05/0.4402, allocations: 18.95 kB / 0.7673 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/0.4408, allocations: 61.94 kB / 0.7673 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4409, allocations: 59.52 kB / 0.7674 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.441, allocations: 32.16 kB / 0.7674 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002135/0.4412, allocations: 249.7 kB / 0.7677 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4412, allocations: 0 / 0.7677 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000781/0.442, allocations: 251.4 kB / 0.7679 GB, free: 0.9805 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001835/0.4438, allocations: 0.5959 MB / 0.7685 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.4457, allocations: 0.7824 MB / 0.7692 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4457, allocations: 0 / 0.7692 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.4466, allocations: 441.2 kB / 0.7697 GB, free: 136 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.4471, allocations: 68.23 kB / 0.7697 GB, free: 88 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.4493, allocations: 1.172 MB / 0.7709 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.4496, allocations: 272.5 kB / 0.7711 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006761/0.4503, allocations: 174 kB / 0.7713 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.4506, allocations: 91.05 kB / 0.7714 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.4506, allocations: 1.094 kB / 0.7714 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.01809/0.4686, allocations: 9.919 MB / 0.7811 GB, free: 9.09 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.307915156008676] Failed to read output from testmodel.py, exit status != 0: 0.47694817592855543 0.49092750700000004 0.08605517500000001 Calling exit ...