Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 110.3 kB / 16.41 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 190.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 294.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9342/0.9342, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 91.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3543, allocations: 86.98 MB / 0.767 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.156/0.5103, allocations: 163.4 MB / 0.9266 GB, free: 36 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03045/0.5408, allocations: 27.61 MB / 0.9536 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.5428, allocations: 87.56 kB / 0.9537 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.5448, allocations: 1.146 MB / 0.9548 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003859/0.5487, allocations: 1.988 MB / 0.9568 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.3386/0.8873, allocations: 2.037 MB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006694/0.894, allocations: 6.165 MB / 0.9648 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004921/0.8989, allocations: 4.998 MB / 0.9696 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.902, allocations: 2.457 MB / 0.972 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.9047, allocations: 2.956 MB / 0.9749 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006723/0.9054, allocations: 0.5511 MB / 0.9755 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.9073, allocations: 1.172 MB / 0.9766 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008673/0.9082, allocations: 1.421 MB / 0.978 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.9101, allocations: 2.513 MB / 0.9805 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004884/0.915, allocations: 7.086 MB / 0.9874 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.915, allocations: 0 / 0.9874 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.915, allocations: 0.8438 kB / 0.9874 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.362e-05/0.9151, allocations: 0 / 0.9874 GB, free: 1.473 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 987 * Number of variables: 987 Notification: Performance of Generate backend data structure: time 0.009129/0.9242, allocations: 5.371 MB / 0.9926 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.9243, allocations: 8.156 kB / 0.9926 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.9374, allocations: 2.847 MB / 0.9954 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.9415, allocations: 2.645 MB / 0.998 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.9416, allocations: 290.5 kB / 0.9983 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005531/0.9422, allocations: 385.4 kB / 0.9986 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.9529, allocations: 5.925 MB / 1.004 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.24e-05/0.953, allocations: 3.094 kB / 1.004 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.9535, allocations: 163.8 kB / 1.005 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.9535, allocations: 93.22 kB / 1.005 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.9675, allocations: 7.038 MB / 1.012 GB, free: 14.13 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02555/0.9931, allocations: 17.72 MB / 1.029 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009581/1.003, allocations: 4.798 MB / 1.034 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005832/1.008, allocations: 3.054 MB / 1.037 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008966/1.009, allocations: 0.6843 MB / 1.037 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006017/1.015, allocations: 2.965 MB / 1.04 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=336): time 5.47e-06/1.015, allocations: 4 kB / 1.04 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=336): time 0.02525/1.041, allocations: 10.17 MB / 1.05 GB, free: 1 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.041, allocations: 218.3 kB / 1.05 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/1.045, allocations: 2.774 MB / 1.053 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002974/1.045, allocations: 89.7 kB / 1.053 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.046, allocations: 1.583 MB / 1.055 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009532/1.047, allocations: 1.104 MB / 1.056 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.048, allocations: 0.5766 MB / 1.056 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/1.048, allocations: 305.1 kB / 1.056 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/1.054, allocations: 2.313 MB / 1.059 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/1.059, allocations: 2.676 MB / 1.061 GB, free: 5.23 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.07, allocations: 4.916 MB / 1.066 GB, free: 256 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/1.07, allocations: 0 / 1.066 GB, free: 256 kB / 0.7637 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01317/1.083, allocations: 6.095 MB / 1.072 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.083, allocations: 8 kB / 1.072 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.083, allocations: 8 kB / 1.072 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/1.085, allocations: 0.824 MB / 1.073 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/1.089, allocations: 0.8462 MB / 1.074 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.1, allocations: 7.576 MB / 1.081 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003896/1.104, allocations: 0.5944 MB / 1.082 GB, free: 240 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/1.104, allocations: 131.9 kB / 1.082 GB, free: 108 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 318 * 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): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00211/1.106, allocations: 1.08 MB / 1.083 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007113/1.107, allocations: 324.1 kB / 1.083 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.122, allocations: 6.748 MB / 1.09 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/1.122, allocations: 19.94 kB / 1.09 GB, free: 7.941 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.122, allocations: 0 / 1.09 GB, free: 7.941 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002343/1.125, allocations: 0.9529 MB / 1.091 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008497/1.126, allocations: 79.89 kB / 1.091 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003835/1.13, allocations: 435.4 kB / 1.091 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005894/1.13, allocations: 274.3 kB / 1.092 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01669/1.147, allocations: 6.579 MB / 1.098 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01849/1.165, allocations: 9.154 MB / 1.107 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005316/1.171, allocations: 2.695 MB / 1.11 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00303/1.174, allocations: 2.013 MB / 1.111 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of Backend: time 5.51e-07/1.174, allocations: 0 / 1.111 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.185, allocations: 4.759 MB / 1.116 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of SimCode: time 0.01284/1.198, allocations: 8.354 MB / 1.124 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.1002/1.298, allocations: 68.59 MB / 1.191 GB, free: 1.156 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)