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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 284.7 kB / 303.6 MB, free: 3.688 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 180.9 MB / 0.5268 GB, free: 3.098 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003133/0.003133, allocations: 99.81 kB / 0.7259 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.5267, allocations: 94.17 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003518/0.5302, allocations: 3.072 MB / 0.8208 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003665/0.5339, allocations: 3.285 MB / 0.824 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.534, allocations: 2.656 kB / 0.824 GB, free: 2.957 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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.0002898/0.5343, allocations: 68.36 kB / 0.8241 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000869/0.5352, allocations: 441.8 kB / 0.8245 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.5359, allocations: 377.6 kB / 0.8249 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.5364, allocations: 0.7005 MB / 0.8256 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.5366, allocations: 79.05 kB / 0.8256 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.5369, allocations: 295.1 kB / 0.8259 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.5373, allocations: 317.8 kB / 0.8262 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-05/0.5374, allocations: 62.12 kB / 0.8263 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007465/0.5382, allocations: 0.4929 MB / 0.8268 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.5383, allocations: 169.8 kB / 0.8269 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.5385, allocations: 289.4 kB / 0.8272 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.5396, allocations: 0.9746 MB / 0.8282 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5396, allocations: 0 / 0.8282 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5396, allocations: 3.938 kB / 0.8282 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.5396, allocations: 6.781 kB / 0.8282 GB, free: 1.008 MB / 0.5762 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.001785/0.5414, allocations: 0.9378 MB / 0.8291 GB, free: 312 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.5414, allocations: 8.812 kB / 0.8291 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.5447, allocations: 0.5535 MB / 0.8296 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.5459, allocations: 0.559 MB / 0.8302 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.5461, allocations: 201.3 kB / 0.8304 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.5462, allocations: 41.47 kB / 0.8304 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.5478, allocations: 0.6782 MB / 0.8311 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5478, allocations: 4 kB / 0.8311 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.5479, allocations: 14.97 kB / 0.8311 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.5479, allocations: 11.38 kB / 0.8311 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.55, allocations: 0.7789 MB / 0.8319 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.5536, allocations: 1.732 MB / 0.8335 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.5568, allocations: 0.969 MB / 0.8345 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008739/0.5577, allocations: 341.7 kB / 0.8348 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002148/0.5598, allocations: 1.771 MB / 0.8365 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.5609, allocations: 462.2 kB / 0.837 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 3.055e-06/0.5609, allocations: 0 / 0.837 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.003208/0.5641, allocations: 1.07 MB / 0.838 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.5642, allocations: 114.7 kB / 0.8381 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.5647, allocations: 356.1 kB / 0.8385 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.5648, allocations: 36.8 kB / 0.8385 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.565, allocations: 232.3 kB / 0.8387 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.5653, allocations: 228.7 kB / 0.839 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.5656, allocations: 145 kB / 0.8391 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5657, allocations: 356.8 kB / 0.8394 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009305/0.5667, allocations: 314.8 kB / 0.8397 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5679, allocations: 440.5 kB / 0.8402 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.57, allocations: 0.7251 MB / 0.8409 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.57, allocations: 1.156 kB / 0.8409 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002344/0.5723, allocations: 0.8629 MB / 0.8417 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5724, allocations: 6.781 kB / 0.8417 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5724, allocations: 2.406 kB / 0.8417 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.5724, allocations: 6.734 kB / 0.8417 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.5734, allocations: 193.2 kB / 0.8419 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5734, allocations: 5.766 kB / 0.8419 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.5742, allocations: 91.77 kB / 0.842 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.5743, allocations: 38.14 kB / 0.842 GB, free: 8.973 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.0003321/0.5746, allocations: 206.4 kB / 0.8422 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.5747, allocations: 53.52 kB / 0.8423 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.5777, allocations: 1.118 MB / 0.8434 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.5777, allocations: 14.06 kB / 0.8434 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5777, allocations: 0.6562 kB / 0.8434 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5777, allocations: 4.594 kB / 0.8434 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.5812, allocations: 1.762 MB / 0.8451 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5812, allocations: 1.672 kB / 0.8451 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009895/0.5822, allocations: 187.9 kB / 0.8453 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.5822, allocations: 4.094 kB / 0.8453 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.5823, allocations: 25.42 kB / 0.8453 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.5823, allocations: 2.438 kB / 0.8453 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5823, allocations: 1.734 kB / 0.8453 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.5846, allocations: 1.015 MB / 0.8463 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.5849, allocations: 229.8 kB / 0.8465 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.585, allocations: 16.91 kB / 0.8466 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.5856, allocations: 58.16 kB / 0.8466 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.5858, allocations: 57.56 kB / 0.8467 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/0.5859, allocations: 34.08 kB / 0.8467 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003049/0.5862, allocations: 249.1 kB / 0.8469 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5862, allocations: 1.531 kB / 0.8469 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008162/0.587, allocations: 236.3 kB / 0.8472 GB, free: 6.562 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.001712/0.5887, allocations: 0.5039 MB / 0.8477 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.5908, allocations: 0.7811 MB / 0.8484 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5908, allocations: 1.062 kB / 0.8484 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.5918, allocations: 433 kB / 0.8488 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.5923, allocations: 73.36 kB / 0.8489 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.5947, allocations: 1.193 MB / 0.8501 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.5952, allocations: 0.8739 MB / 0.8509 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.5956, allocations: 97.34 kB / 0.851 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.5956, allocations: 0 / 0.851 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.01524/0.6109, allocations: 10.29 MB / 0.8611 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 659] 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: 9.448230765992776] Failed to read output from testmodel.py, exit status != 0: 0.6187570560723543 0.6311560509999999 0.08877209100000001 Calling exit ...