Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 109.4 kB / 16.42 MB, free: 6.469 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.001057/0.001058, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.277/1.277, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002248, allocations: 296.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9246/0.9246, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 95.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3655, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1584/0.524, allocations: 160.5 MB / 0.9237 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03112/0.5551, allocations: 26.77 MB / 0.9499 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.5576, allocations: 71.62 kB / 0.9499 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.5598, allocations: 0.9907 MB / 0.9509 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004432/0.5643, allocations: 1.703 MB / 0.9526 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.5683, allocations: 1.71 MB / 0.9542 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3594/0.9277, allocations: 4.874 MB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005195/0.9329, allocations: 4.209 MB / 0.9631 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.9367, allocations: 2.079 MB / 0.9651 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.9404, allocations: 2.462 MB / 0.9675 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008517/0.9412, allocations: 457.8 kB / 0.968 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.9433, allocations: 1.064 MB / 0.969 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009197/0.9443, allocations: 1.172 MB / 0.9702 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.9462, allocations: 2.054 MB / 0.9722 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004866/0.951, allocations: 5.84 MB / 0.9779 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9511, allocations: 0.9062 kB / 0.9779 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9511, allocations: 0 / 0.9779 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001048/0.9512, allocations: 0 / 0.9779 GB, free: 2.195 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: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.00889/0.9601, allocations: 4.558 MB / 0.9823 GB, free: 392 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.9601, allocations: 10.62 kB / 0.9823 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.9733, allocations: 2.766 MB / 0.985 GB, free: 176 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.9778, allocations: 2.318 MB / 0.9873 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.978, allocations: 244.8 kB / 0.9875 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005891/0.9785, allocations: 308.1 kB / 0.9878 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.9889, allocations: 5.153 MB / 0.9929 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/0.989, allocations: 2.219 kB / 0.9929 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/0.9894, allocations: 137.3 kB / 0.993 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.9894, allocations: 74.5 kB / 0.9931 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/1.003, allocations: 6.284 MB / 0.9992 GB, free: 15.24 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.02402/1.027, allocations: 14 MB / 1.013 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/1.037, allocations: 4.7 MB / 1.017 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005001/1.042, allocations: 2.439 MB / 1.02 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008627/1.043, allocations: 0.6701 MB / 1.021 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00541/1.049, allocations: 2.614 MB / 1.023 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=278): time 4.939e-06/1.049, allocations: 0 / 1.023 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of matching and sorting (n=278): time 0.01702/1.066, allocations: 7.392 MB / 1.03 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.066, allocations: 213.2 kB / 1.03 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003159/1.069, allocations: 2.432 MB / 1.033 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004497/1.069, allocations: 73.7 kB / 1.033 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/1.071, allocations: 1.359 MB / 1.034 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009118/1.071, allocations: 0.905 MB / 1.035 GB, free: 364 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000949/1.072, allocations: 0.5029 MB / 1.036 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.201e-05/1.073, allocations: 305.1 kB / 1.036 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004729/1.077, allocations: 2.027 MB / 1.038 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005045/1.082, allocations: 2.332 MB / 1.04 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009726/1.092, allocations: 4.277 MB / 1.044 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.092, allocations: 4 kB / 1.044 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01172/1.104, allocations: 4.984 MB / 1.049 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.104, allocations: 15.41 kB / 1.049 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.104, allocations: 7.984 kB / 1.049 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/1.105, allocations: 230.3 kB / 1.049 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/1.109, allocations: 0.8127 MB / 1.05 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004165/1.113, allocations: 3.378 MB / 1.054 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/1.117, allocations: 0.5479 MB / 1.054 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004764/1.117, allocations: 115.9 kB / 1.054 GB, free: 12.58 MB / 0.7637 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 (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002283/1.12, allocations: 0.9458 MB / 1.055 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/1.121, allocations: 276.5 kB / 1.055 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.135, allocations: 5.619 MB / 1.061 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-05/1.135, allocations: 19.92 kB / 1.061 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.135, allocations: 0 / 1.061 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/1.137, allocations: 0.8364 MB / 1.062 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008126/1.137, allocations: 67.89 kB / 1.062 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003525/1.141, allocations: 427.3 kB / 1.062 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000506/1.141, allocations: 202 kB / 1.062 GB, free: 4.148 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0146/1.156, allocations: 5.388 MB / 1.068 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01699/1.173, allocations: 8.002 MB / 1.075 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004992/1.178, allocations: 2.352 MB / 1.078 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002889/1.181, allocations: 1.765 MB / 1.079 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of Backend: time 4.81e-07/1.181, allocations: 0 / 1.079 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.192, allocations: 4.129 MB / 1.084 GB, free: 14.9 MB / 0.795 GB Notification: Performance of SimCode: time 0.01067/1.202, allocations: 6.7 MB / 1.09 GB, free: 8.195 MB / 0.795 GB Notification: Performance of Templates: time 0.08392/1.286, allocations: 58.01 MB / 1.147 GB, free: 14.71 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)