Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001575/0.001575, allocations: 120.2 kB / 17.09 MB, free: 6.012 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.001697/0.001697, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7817/0.7817, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 60.48 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1643, allocations: 76.19 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6859/0.8502, allocations: 165 MB / 0.7938 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0443/0.8945, allocations: 27.81 MB / 0.821 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0068/0.9014, allocations: 84.09 kB / 0.821 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004508/0.906, allocations: 1.211 MB / 0.8222 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009426/0.9154, allocations: 2.119 MB / 0.8243 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00742/0.9229, allocations: 2.067 MB / 0.8263 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.935, allocations: 6.613 MB / 0.8328 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009257/0.9443, allocations: 4.924 MB / 0.8376 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006735/0.951, allocations: 2.514 MB / 0.84 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006372/0.9574, allocations: 3.012 MB / 0.843 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002361/0.9598, allocations: 0.5548 MB / 0.8435 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0052/0.965, allocations: 1.172 MB / 0.8447 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.9678, allocations: 1.427 MB / 0.846 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006605/0.9744, allocations: 2.596 MB / 0.8486 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.987, allocations: 7.229 MB / 0.8556 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.9871, allocations: 0 / 0.8556 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9871, allocations: 0 / 0.8556 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003105/0.9874, allocations: 4 kB / 0.8556 GB, free: 14.97 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01767/1.005, allocations: 5.457 MB / 0.861 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.005, allocations: 8.031 kB / 0.861 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/1.02, allocations: 2.849 MB / 0.8638 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007633/1.028, allocations: 2.658 MB / 0.8664 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003615/1.028, allocations: 287.8 kB / 0.8666 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/1.03, allocations: 380 kB / 0.867 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01961/1.049, allocations: 5.935 MB / 0.8728 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/1.05, allocations: 3.906 kB / 0.8728 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/1.051, allocations: 163.9 kB / 0.873 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.051, allocations: 92 kB / 0.873 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/1.072, allocations: 7.042 MB / 0.8799 GB, free: 5.941 MB / 0.6387 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.04087/1.113, allocations: 18.53 MB / 0.898 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/1.124, allocations: 4.81 MB / 0.9027 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007111/1.131, allocations: 3.065 MB / 0.9057 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/1.133, allocations: 0.6763 MB / 0.9064 GB, free: 9.957 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008176/1.141, allocations: 2.978 MB / 0.9093 GB, free: 6.949 MB / 0.67 GB Notification: Performance of pre-optimization done (n=336): time 7.184e-06/1.141, allocations: 3.938 kB / 0.9093 GB, free: 6.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=336): time 0.03127/1.172, allocations: 10.18 MB / 0.9192 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/1.172, allocations: 218.6 kB / 0.9194 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006113/1.179, allocations: 2.798 MB / 0.9222 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000992/1.18, allocations: 85.7 kB / 0.9222 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001912/1.181, allocations: 1.595 MB / 0.9238 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001803/1.183, allocations: 1.106 MB / 0.9249 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/1.185, allocations: 0.5805 MB / 0.9254 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.185, allocations: 305.1 kB / 0.9257 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005485/1.191, allocations: 2.313 MB / 0.928 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006318/1.197, allocations: 2.68 MB / 0.9306 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/1.209, allocations: 4.923 MB / 0.9354 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/1.209, allocations: 0 / 0.9354 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01569/1.225, allocations: 6.102 MB / 0.9414 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/1.225, allocations: 8 kB / 0.9414 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.225, allocations: 4 kB / 0.9414 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/1.227, allocations: 0.8279 MB / 0.9422 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004669/1.231, allocations: 0.8463 MB / 0.943 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.243, allocations: 7.574 MB / 0.9504 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/1.248, allocations: 0.5959 MB / 0.951 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008488/1.249, allocations: 127.9 kB / 0.9511 GB, free: 11.55 MB / 0.7169 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.003276/1.252, allocations: 1.083 MB / 0.9522 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/1.253, allocations: 327.9 kB / 0.9525 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/1.269, allocations: 6.75 MB / 0.9591 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/1.269, allocations: 36 kB / 0.9591 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/1.269, allocations: 8 kB / 0.9591 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/1.269, allocations: 15.94 kB / 0.9591 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006892/1.276, allocations: 4.397 MB / 0.9634 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.276, allocations: 4 kB / 0.9634 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004089/1.28, allocations: 0.784 MB / 0.9642 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/1.282, allocations: 0.7379 MB / 0.9649 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004641/1.283, allocations: 95.86 kB / 0.965 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.295, allocations: 10.66 MB / 0.9754 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.295, allocations: 0 / 0.9754 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/1.316, allocations: 9.584 MB / 0.9848 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/1.319, allocations: 0.9491 MB / 0.9857 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006325/1.32, allocations: 87.77 kB / 0.9858 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003348/1.323, allocations: 431.4 kB / 0.9862 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005889/1.324, allocations: 246.5 kB / 0.9864 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/1.324, allocations: 127.8 kB / 0.9866 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00289/1.327, allocations: 2.021 MB / 0.9885 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.327, allocations: 0 / 0.9885 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003522/1.33, allocations: 1.317 MB / 0.9898 GB, free: 3.293 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002587/1.333, allocations: 1.071 MB / 0.9909 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.346, allocations: 5.841 MB / 0.9966 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.346, allocations: 0 / 0.9966 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007142/1.353, allocations: 3.474 MB / 1 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/1.357, allocations: 0.8254 MB / 1.001 GB, free: 8.414 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.375, allocations: 9.337 MB / 1.01 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003465/1.379, allocations: 2.699 MB / 1.013 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002382/1.381, allocations: 347.1 kB / 1.013 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of SimCode: time 7.61e-07/1.381, allocations: 0 / 1.013 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.4323/1.814, allocations: 108.4 MB / 1.119 GB, free: 287.9 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)