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.0007557/0.0007557, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007505/0.0007505, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8498/0.8498, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.001443/0.001443, allocations: 225.1 kB / 260.2 MB, free: 13.03 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.69/0.69, allocations: 138.4 MB / 455.1 MB, free: 30.03 MB / 410.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.222e-06/1.222e-06, allocations: 0 / 0.6475 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.47e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.2101/0.2102, allocations: 2.904 MB / 0.6503 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.2131, allocations: 3.323 MB / 0.6535 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.2132, allocations: 5.844 kB / 0.6535 GB, free: 54.27 MB / 0.5573 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.000283/0.2135, allocations: 67.31 kB / 0.6536 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007057/0.2142, allocations: 494.8 kB / 0.6541 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.2146, allocations: 397 kB / 0.6545 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.2151, allocations: 0.7312 MB / 0.6552 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2152, allocations: 71.67 kB / 0.6552 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.2156, allocations: 418.8 kB / 0.6556 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.2158, allocations: 264 kB / 0.6559 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.709e-05/0.2159, allocations: 66.72 kB / 0.656 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.2164, allocations: 0.5366 MB / 0.6565 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2166, allocations: 178.6 kB / 0.6567 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2167, allocations: 202.4 kB / 0.6568 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008784/0.2176, allocations: 1.159 MB / 0.658 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2176, allocations: 0 / 0.658 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2176, allocations: 0 / 0.658 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2176, allocations: 0 / 0.658 GB, free: 52.27 MB / 0.5573 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.001106/0.2187, allocations: 0.8775 MB / 0.6588 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2187, allocations: 11.31 kB / 0.6588 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.2203, allocations: 0.5815 MB / 0.6594 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.221, allocations: 0.5037 MB / 0.6599 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.2211, allocations: 355.8 kB / 0.6602 GB, free: 50.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.2212, allocations: 45.69 kB / 0.6603 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.222, allocations: 0.759 MB / 0.661 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.222, allocations: 2.062 kB / 0.661 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.2221, allocations: 20.44 kB / 0.6611 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2221, allocations: 12.42 kB / 0.6611 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.2231, allocations: 0.7641 MB / 0.6618 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.225, allocations: 1.524 MB / 0.6633 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.2266, allocations: 0.8846 MB / 0.6642 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.227, allocations: 340.8 kB / 0.6645 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005412/0.2276, allocations: 199.5 kB / 0.6647 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/0.2281, allocations: 463.1 kB / 0.6651 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.2281, allocations: 4 kB / 0.6651 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66): time 0.001509/0.2296, allocations: 1.07 MB / 0.6662 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.2296, allocations: 111.2 kB / 0.6663 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.2299, allocations: 364.4 kB / 0.6666 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2299, allocations: 35.8 kB / 0.6667 GB, free: 48.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.23, allocations: 221.9 kB / 0.6669 GB, free: 47.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.2301, allocations: 231.7 kB / 0.6671 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2302, allocations: 142.6 kB / 0.6672 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.2303, allocations: 359.2 kB / 0.6676 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.2307, allocations: 318.1 kB / 0.6679 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.2312, allocations: 492.5 kB / 0.6683 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000937/0.2321, allocations: 0.7261 MB / 0.669 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2321, allocations: 2.375 kB / 0.669 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001115/0.2333, allocations: 0.86 MB / 0.6699 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2333, allocations: 5.844 kB / 0.6699 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2333, allocations: 4.094 kB / 0.6699 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2333, allocations: 6.406 kB / 0.6699 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.2338, allocations: 193.1 kB / 0.6701 GB, free: 46.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2338, allocations: 7.281 kB / 0.6701 GB, free: 46.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.2341, allocations: 93.22 kB / 0.6702 GB, free: 46.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.2341, allocations: 42.19 kB / 0.6702 GB, free: 46.25 MB / 0.5573 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.0001511/0.2343, allocations: 205.9 kB / 0.6704 GB, free: 46.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.2343, allocations: 50.11 kB / 0.6705 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.2358, allocations: 1.117 MB / 0.6716 GB, free: 45.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2358, allocations: 10.97 kB / 0.6716 GB, free: 45.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2358, allocations: 4 kB / 0.6716 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.2358, allocations: 4.594 kB / 0.6716 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.2375, allocations: 1.577 MB / 0.6731 GB, free: 44.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2375, allocations: 0 / 0.6731 GB, free: 44.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.2379, allocations: 196.4 kB / 0.6733 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2379, allocations: 4.172 kB / 0.6733 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.238, allocations: 26.52 kB / 0.6733 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.238, allocations: 4.234 kB / 0.6733 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.238, allocations: 0 / 0.6733 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2391, allocations: 1.007 MB / 0.6743 GB, free: 44.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.2393, allocations: 148.7 kB / 0.6745 GB, free: 44.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.2393, allocations: 20.23 kB / 0.6745 GB, free: 44.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.2396, allocations: 59.97 kB / 0.6745 GB, free: 44.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.2397, allocations: 58.75 kB / 0.6746 GB, free: 44.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.2398, allocations: 33.06 kB / 0.6746 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001496/0.2399, allocations: 251.9 kB / 0.6749 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2399, allocations: 0 / 0.6749 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004447/0.2404, allocations: 254.4 kB / 0.6751 GB, free: 44.07 MB / 0.5573 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.0008676/0.2412, allocations: 0.607 MB / 0.6757 GB, free: 43.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.2423, allocations: 0.7893 MB / 0.6765 GB, free: 43.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2423, allocations: 0.9375 kB / 0.6765 GB, free: 43.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.243, allocations: 428.9 kB / 0.6769 GB, free: 43.51 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.2433, allocations: 71.19 kB / 0.677 GB, free: 43.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.2446, allocations: 1.171 MB / 0.6781 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.2448, allocations: 270.1 kB / 0.6784 GB, free: 42.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.245, allocations: 104 kB / 0.6785 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.245, allocations: 0 / 0.6785 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of Templates: time 0.01062/0.2557, allocations: 10.95 MB / 0.6891 GB, free: 39.8 MB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.547002526000142] Failed to read output from testmodel.py, exit status != 0: 0.26157982740551233 0.26900264700000004 0.049998767000000006 Calling exit ...