Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 108.5 kB / 16.41 MB, free: 6.508 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.001209/0.001209, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.31/1.31, 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.00211/0.00211, allocations: 288.7 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.9198/0.9198, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 92.12 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3573, allocations: 86.99 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1554/0.5127, allocations: 161.1 MB / 0.9244 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03039/0.5431, allocations: 26.94 MB / 0.9507 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.5454, allocations: 75.62 kB / 0.9507 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.5474, allocations: 1.022 MB / 0.9517 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.5514, allocations: 1.734 MB / 0.9534 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.555, allocations: 1.769 MB / 0.9552 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3542/0.9092, allocations: 5.128 MB / 0.9602 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005109/0.9143, allocations: 4.37 MB / 0.9644 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.9178, allocations: 2.155 MB / 0.9665 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.921, allocations: 2.57 MB / 0.9691 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006948/0.9217, allocations: 481.9 kB / 0.9695 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.9236, allocations: 1.097 MB / 0.9706 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008009/0.9244, allocations: 1.23 MB / 0.9718 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.9261, allocations: 2.147 MB / 0.9739 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.9306, allocations: 6.137 MB / 0.9799 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9306, allocations: 0 / 0.9799 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9306, allocations: 0.8125 kB / 0.9799 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.65e-05/0.9307, allocations: 0 / 0.9799 GB, free: 2.133 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: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.008393/0.9391, allocations: 4.745 MB / 0.9845 GB, free: 264 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9391, allocations: 10.94 kB / 0.9845 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.9524, allocations: 2.786 MB / 0.9872 GB, free: 36 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.957, allocations: 2.394 MB / 0.9896 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.9572, allocations: 257.7 kB / 0.9898 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007223/0.9579, allocations: 323.5 kB / 0.9901 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.9685, allocations: 5.335 MB / 0.9953 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-05/0.9686, allocations: 3.906 kB / 0.9953 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/0.969, allocations: 139.4 kB / 0.9955 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/0.9691, allocations: 86.39 kB / 0.9956 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.9825, allocations: 6.47 MB / 1.002 GB, free: 15.08 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.02223/1.005, allocations: 14.87 MB / 1.016 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009564/1.014, allocations: 4.872 MB / 1.021 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/1.019, allocations: 2.57 MB / 1.024 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008541/1.02, allocations: 0.6762 MB / 1.024 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005159/1.025, allocations: 2.701 MB / 1.027 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=291): time 5.05e-06/1.025, allocations: 4 kB / 1.027 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=291): time 0.01891/1.044, allocations: 8.005 MB / 1.035 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.044, allocations: 210.2 kB / 1.035 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/1.047, allocations: 2.519 MB / 1.037 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004076/1.048, allocations: 85.69 kB / 1.038 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.049, allocations: 1.392 MB / 1.039 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.05, allocations: 0.9556 MB / 1.04 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/1.052, allocations: 0.5246 MB / 1.04 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/1.052, allocations: 309.1 kB / 1.041 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/1.056, allocations: 2.097 MB / 1.043 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005187/1.062, allocations: 2.42 MB / 1.045 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009948/1.072, allocations: 4.438 MB / 1.049 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.072, allocations: 4 kB / 1.049 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01209/1.084, allocations: 5.24 MB / 1.055 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.084, allocations: 8 kB / 1.055 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.084, allocations: 8.156 kB / 1.055 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008493/1.085, allocations: 344.6 kB / 1.055 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/1.089, allocations: 0.8197 MB / 1.056 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/1.094, allocations: 4.222 MB / 1.06 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/1.099, allocations: 0.5596 MB / 1.06 GB, free: 6.387 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006228/1.099, allocations: 115.9 kB / 1.06 GB, free: 6.273 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002419/1.102, allocations: 0.9888 MB / 1.061 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009366/1.103, allocations: 284.4 kB / 1.062 GB, free: 5.023 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.117, allocations: 5.901 MB / 1.067 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.265e-05/1.117, allocations: 11.95 kB / 1.067 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.117, allocations: 0 / 1.067 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.119, allocations: 0.8636 MB / 1.068 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008649/1.12, allocations: 71.89 kB / 1.068 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/1.124, allocations: 423.4 kB / 1.069 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/1.124, allocations: 226 kB / 1.069 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01555/1.14, allocations: 5.701 MB / 1.075 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0181/1.158, allocations: 8.282 MB / 1.083 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005318/1.163, allocations: 2.45 MB / 1.085 GB, free: 12.97 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002958/1.166, allocations: 1.826 MB / 1.087 GB, free: 11.14 MB / 0.795 GB Notification: Performance of Backend: time 6.21e-07/1.166, allocations: 0 / 1.087 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.178, allocations: 4.277 MB / 1.091 GB, free: 7.352 MB / 0.795 GB Notification: Performance of SimCode: time 0.01243/1.191, allocations: 7.122 MB / 1.098 GB, free: 232 kB / 0.795 GB Notification: Performance of Templates: time 0.09239/1.283, allocations: 60.52 MB / 1.157 GB, free: 4.27 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)