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.001013/0.001013, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001653/0.001653, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9129/0.9129, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 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.001717/0.001717, allocations: 241.8 kB / 260.5 MB, free: 12.68 MB / 250.7 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.683/0.683, allocations: 138.4 MB / 455.5 MB, free: 1.418 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.5555 GB, free: 332 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.509e-05, allocations: 2.312 kB / 0.5555 GB, free: 328 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004231/0.004256, allocations: 3.005 MB / 0.5585 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.007769, allocations: 3.455 MB / 0.5619 GB, free: 9.82 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.007968, allocations: 0 / 0.5619 GB, free: 9.82 MB / 490.7 MB [/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.0002852/0.008253, allocations: 75.23 kB / 0.5619 GB, free: 9.746 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.009269, allocations: 0.4893 MB / 0.5624 GB, free: 9.254 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.009899, allocations: 394.7 kB / 0.5628 GB, free: 8.871 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005981/0.0105, allocations: 0.7374 MB / 0.5635 GB, free: 8.133 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.01066, allocations: 74.88 kB / 0.5636 GB, free: 8.055 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.01115, allocations: 423.1 kB / 0.564 GB, free: 7.641 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.01148, allocations: 259.3 kB / 0.5642 GB, free: 7.387 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.01155, allocations: 60 kB / 0.5643 GB, free: 7.328 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.01226, allocations: 0.5343 MB / 0.5648 GB, free: 6.793 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.01238, allocations: 171.4 kB / 0.565 GB, free: 6.625 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.01251, allocations: 195.5 kB / 0.5652 GB, free: 6.434 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009193/0.01343, allocations: 0.8876 MB / 0.566 GB, free: 5.543 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.01344, allocations: 0 / 0.566 GB, free: 5.543 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01344, allocations: 0 / 0.566 GB, free: 5.543 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01345, allocations: 4 kB / 0.566 GB, free: 5.539 MB / 490.7 MB 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.001144/0.01459, allocations: 0.9759 MB / 0.567 GB, free: 4.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.01462, allocations: 12.75 kB / 0.567 GB, free: 4.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.0157, allocations: 312.1 kB / 0.5673 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.01613, allocations: 386.7 kB / 0.5677 GB, free: 3.801 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.0163, allocations: 354 kB / 0.568 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.144e-05/0.01636, allocations: 44.38 kB / 0.568 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.01699, allocations: 0.5386 MB / 0.5686 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.017, allocations: 0 / 0.5686 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.01704, allocations: 16 kB / 0.5686 GB, free: 2.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.01705, allocations: 12 kB / 0.5686 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.01746, allocations: 334.6 kB / 0.5689 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.01918, allocations: 1.233 MB / 0.5701 GB, free: 1.152 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/0.02007, allocations: 0.4896 MB / 0.5706 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.02027, allocations: 157.5 kB / 0.5707 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/0.02075, allocations: 216.2 kB / 0.5709 GB, free: 292 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.02107, allocations: 273.8 kB / 0.5712 GB, free: 0 / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 1.593e-06/0.02107, allocations: 0 / 0.5712 GB, free: 0 / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.0007739/0.02184, allocations: 0.5523 MB / 0.5717 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.02189, allocations: 111.5 kB / 0.5718 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.02211, allocations: 370.6 kB / 0.5722 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.02215, allocations: 37.7 kB / 0.5722 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.02227, allocations: 272 kB / 0.5725 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.0224, allocations: 237.8 kB / 0.5727 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.02256, allocations: 151.8 kB / 0.5729 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.02269, allocations: 0.5273 MB / 0.5734 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.02286, allocations: 113.2 kB / 0.5735 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.02312, allocations: 322.6 kB / 0.5738 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.02355, allocations: 393.7 kB / 0.5742 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.02356, allocations: 0 / 0.5742 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000629/0.02419, allocations: 0.5126 MB / 0.5747 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.0242, allocations: 7.281 kB / 0.5747 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.02421, allocations: 4 kB / 0.5747 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.02422, allocations: 11.92 kB / 0.5747 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.02465, allocations: 163.7 kB / 0.5749 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.02466, allocations: 8 kB / 0.5749 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.02493, allocations: 63.59 kB / 0.5749 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.02498, allocations: 40.03 kB / 0.575 GB, free: 11.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (radiationOneAxisTracked.outsidePolarCircle,radiationFixed.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001518/0.02513, allocations: 200.3 kB / 0.5752 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.286e-05/0.02522, allocations: 63.72 kB / 0.5752 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/0.02618, allocations: 0.7369 MB / 0.5759 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.02619, allocations: 8 kB / 0.5759 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.02619, allocations: 0 / 0.5759 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.0262, allocations: 7.984 kB / 0.5759 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.02737, allocations: 1.122 MB / 0.577 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.02738, allocations: 0 / 0.577 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.0278, allocations: 183.6 kB / 0.5772 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.02781, allocations: 4 kB / 0.5772 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.02785, allocations: 23.98 kB / 0.5772 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.02785, allocations: 4 kB / 0.5772 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.02785, allocations: 0 / 0.5772 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.02856, allocations: 0.717 MB / 0.5779 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.02874, allocations: 139.4 kB / 0.5781 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.02879, allocations: 16 kB / 0.5781 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.02903, allocations: 35.97 kB / 0.5781 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.02912, allocations: 56.89 kB / 0.5782 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.02916, allocations: 27.97 kB / 0.5782 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001343/0.0293, allocations: 235 kB / 0.5784 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0293, allocations: 0 / 0.5784 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006103/0.02991, allocations: 263.3 kB / 0.5787 GB, free: 8.07 MB / 0.4948 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.001194/0.0311, allocations: 0.5696 MB / 0.5792 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.03172, allocations: 431.9 kB / 0.5797 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.03173, allocations: 0 / 0.5797 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.03203, allocations: 279.2 kB / 0.5799 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.03242, allocations: 96.53 kB / 0.58 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.03386, allocations: 0.9234 MB / 0.5809 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.03395, allocations: 141.5 kB / 0.5811 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004041/0.03436, allocations: 152.6 kB / 0.5812 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.03474, allocations: 222.1 kB / 0.5814 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.03474, allocations: 0 / 0.5814 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of Templates: time 0.01307/0.04781, allocations: 11.13 MB / 0.5923 GB, free: 10.34 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7438601991161704]