Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001682/0.001682, allocations: 199.2 kB / 16.26 MB, free: 6.629 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.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6038/0.6053, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1643/0.7697, allocations: 154.6 MB / 1.168 GB, free: 7.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02616/0.7959, allocations: 21.49 MB / 1.189 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.7984, allocations: 47.69 kB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.8004, allocations: 1.138 MB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.8023, allocations: 0.8138 MB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.8038, allocations: 383.2 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.8057, allocations: 1.259 MB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.807, allocations: 0.6814 MB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.8081, allocations: 0.5607 MB / 1.194 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.8095, allocations: 0.9528 MB / 1.195 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.8098, allocations: 68 kB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.8102, allocations: 108 kB / 1.195 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.8106, allocations: 336.6 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005552/0.8111, allocations: 492.8 kB / 1.196 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.8123, allocations: 1.183 MB / 1.197 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.8124, allocations: 0 / 1.197 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8124, allocations: 4 kB / 1.197 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.8124, allocations: 0 / 1.197 GB, free: 9.91 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002326/0.8147, allocations: 1.475 MB / 1.198 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8148, allocations: 8.031 kB / 1.198 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.8149, allocations: 86.64 kB / 1.198 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.8151, allocations: 135.3 kB / 1.198 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.8159, allocations: 0.6548 MB / 1.199 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.8161, allocations: 74.69 kB / 1.199 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.8161, allocations: 44 kB / 1.199 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009382/0.8171, allocations: 0.5223 MB / 1.2 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.8171, allocations: 4 kB / 1.2 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.8172, allocations: 23.98 kB / 1.2 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.8172, allocations: 8 kB / 1.2 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008177/0.818, allocations: 415.7 kB / 1.2 GB, free: 6.34 MB / 0.9512 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.003543/0.8216, allocations: 2.724 MB / 1.203 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.8225, allocations: 451.5 kB / 1.203 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000609/0.8232, allocations: 309.6 kB / 1.203 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.8232, allocations: 12.59 kB / 1.203 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005669/0.8238, allocations: 283 kB / 1.204 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 3.617e-06/0.8238, allocations: 0 / 1.204 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.00262/0.8264, allocations: 1.149 MB / 1.205 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.8265, allocations: 59.41 kB / 1.205 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.8283, allocations: 1.76 MB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.8284, allocations: 37.7 kB / 1.207 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.8289, allocations: 0.5288 MB / 1.207 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.829, allocations: 142 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.8292, allocations: 98.23 kB / 1.207 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8293, allocations: 334 kB / 1.208 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.8298, allocations: 209 kB / 1.208 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.8303, allocations: 339.2 kB / 1.208 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.8312, allocations: 0.5265 MB / 1.209 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.8312, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001541/0.8328, allocations: 0.8029 MB / 1.21 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.8328, allocations: 12.22 kB / 1.21 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.8329, allocations: 4 kB / 1.21 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004522/0.8333, allocations: 132.7 kB / 1.21 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.8337, allocations: 107.8 kB / 1.21 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.8368, allocations: 2.609 MB / 1.212 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.8373, allocations: 87.53 kB / 1.212 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.8374, allocations: 20 kB / 1.212 GB, free: 9.062 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005442/0.8379, allocations: 380.9 kB / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.838, allocations: 122.4 kB / 1.213 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.8383, allocations: 143.7 kB / 1.213 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.8383, allocations: 7.984 kB / 1.213 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.8383, allocations: 4 kB / 1.213 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.8383, allocations: 7.984 kB / 1.213 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.8404, allocations: 1.488 MB / 1.215 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8404, allocations: 4 kB / 1.215 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.8407, allocations: 51.84 kB / 1.215 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/0.8411, allocations: 161.6 kB / 1.215 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.8411, allocations: 15.98 kB / 1.215 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/0.8445, allocations: 4.021 MB / 1.219 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8445, allocations: 0 / 1.219 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.8461, allocations: 0.991 MB / 1.22 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.8464, allocations: 215.5 kB / 1.22 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/0.8465, allocations: 15.98 kB / 1.22 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.8468, allocations: 35.97 kB / 1.22 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.847, allocations: 55.86 kB / 1.22 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.847, allocations: 12 kB / 1.22 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00131/0.8483, allocations: 1.285 MB / 1.221 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8483, allocations: 0 / 1.221 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007762/0.8491, allocations: 203.7 kB / 1.221 GB, free: 15.47 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002859/0.852, allocations: 1.914 MB / 1.223 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.8535, allocations: 0.7018 MB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8535, allocations: 3.938 kB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007328/0.8543, allocations: 0.5248 MB / 1.224 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.8552, allocations: 190.2 kB / 1.225 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.8674, allocations: 9.329 MB / 1.234 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.8681, allocations: 1.149 MB / 1.235 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003616/0.8685, allocations: 100.8 kB / 1.235 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.869, allocations: 411.2 kB / 1.235 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.869, allocations: 0 / 1.235 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.291/4.16, allocations: 20.16 MB / 1.255 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/4.16, allocations: 283.8 kB / 1.255 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/6.369, allocations: 0 / 1.255 GB, free: 231.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)