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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001359/0.001359, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.5288, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1426/0.6714, allocations: 154.5 MB / 1.168 GB, free: 7.703 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02219/0.6936, allocations: 21.59 MB / 1.189 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.6953, allocations: 51.69 kB / 1.189 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.6969, allocations: 1.13 MB / 1.19 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.6982, allocations: 0.806 MB / 1.191 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.6993, allocations: 388.3 kB / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.7008, allocations: 1.337 MB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008989/0.7017, allocations: 0.6296 MB / 1.193 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.7025, allocations: 0.4905 MB / 1.193 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.7036, allocations: 0.9098 MB / 1.194 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.7038, allocations: 40 kB / 1.194 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.7041, allocations: 75.92 kB / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.7044, allocations: 308.8 kB / 1.195 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004649/0.7048, allocations: 468.8 kB / 1.195 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000984/0.7058, allocations: 1.148 MB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7058, allocations: 0 / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7059, allocations: 0 / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.7059, allocations: 0 / 1.196 GB, free: 10.27 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.002366/0.7083, allocations: 1.482 MB / 1.198 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7083, allocations: 12.03 kB / 1.198 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.7084, allocations: 78.72 kB / 1.198 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.7086, allocations: 131.3 kB / 1.198 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.7095, allocations: 0.6625 MB / 1.199 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.7096, allocations: 70.69 kB / 1.199 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/0.7097, allocations: 48 kB / 1.199 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.7106, allocations: 0.5223 MB / 1.199 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.7107, allocations: 0 / 1.199 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.7107, allocations: 16 kB / 1.199 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.7107, allocations: 12 kB / 1.199 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008383/0.7116, allocations: 419.7 kB / 1.2 GB, free: 6.695 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.003362/0.715, allocations: 2.727 MB / 1.202 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/0.7159, allocations: 453.9 kB / 1.203 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/0.7165, allocations: 310.7 kB / 1.203 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.7166, allocations: 4.656 kB / 1.203 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005477/0.7171, allocations: 287.1 kB / 1.203 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 1.964e-06/0.7171, allocations: 0 / 1.203 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002514/0.7197, allocations: 1.149 MB / 1.204 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.7197, allocations: 63.39 kB / 1.204 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.7213, allocations: 1.756 MB / 1.206 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.7214, allocations: 37.7 kB / 1.206 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.7218, allocations: 0.5326 MB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.7219, allocations: 146 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.722, allocations: 94.25 kB / 1.207 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.7221, allocations: 330 kB / 1.207 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.7226, allocations: 216.9 kB / 1.207 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.7231, allocations: 343.1 kB / 1.208 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008344/0.7239, allocations: 0.5118 MB / 1.208 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7239, allocations: 0 / 1.208 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001418/0.7254, allocations: 0.8127 MB / 1.209 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7254, allocations: 8 kB / 1.209 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7254, allocations: 0 / 1.209 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.7258, allocations: 140.9 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.7262, allocations: 95.88 kB / 1.209 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.7286, allocations: 2.38 MB / 1.212 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.729, allocations: 79.48 kB / 1.212 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.729, allocations: 20 kB / 1.212 GB, free: 9.66 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.0003928/0.7294, allocations: 387.4 kB / 1.212 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7295, allocations: 118.5 kB / 1.212 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.7297, allocations: 139.7 kB / 1.212 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.7298, allocations: 11.94 kB / 1.212 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.7298, allocations: 7.984 kB / 1.212 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7298, allocations: 0 / 1.212 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.7319, allocations: 1.492 MB / 1.214 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.7319, allocations: 4 kB / 1.214 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.7321, allocations: 51.89 kB / 1.214 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003899/0.7325, allocations: 165.6 kB / 1.214 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.7325, allocations: 19.86 kB / 1.214 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/0.7356, allocations: 3.683 MB / 1.218 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7356, allocations: 0 / 1.218 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.7371, allocations: 0.9795 MB / 1.219 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.7373, allocations: 211.7 kB / 1.219 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.7374, allocations: 23.92 kB / 1.219 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.7378, allocations: 47.8 kB / 1.219 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7379, allocations: 47.92 kB / 1.219 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.7379, allocations: 16 kB / 1.219 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001156/0.7391, allocations: 1.289 MB / 1.22 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7391, allocations: 4 kB / 1.22 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006403/0.7397, allocations: 203.7 kB / 1.22 GB, free: 404 kB / 0.9669 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.002761/0.7425, allocations: 1.907 MB / 1.222 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.7437, allocations: 0.6717 MB / 1.223 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7437, allocations: 0.875 kB / 1.223 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.7445, allocations: 0.5244 MB / 1.223 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.7454, allocations: 177.7 kB / 1.224 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.7566, allocations: 9.337 MB / 1.233 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.7573, allocations: 1.153 MB / 1.234 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.7576, allocations: 100.7 kB / 1.234 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.758, allocations: 399.3 kB / 1.234 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.758, allocations: 0 / 1.234 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4274/1.185, allocations: 19.73 MB / 1.254 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/1.186, allocations: 285.8 kB / 1.254 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/3.349, allocations: 4.531 kB / 1.254 GB, free: 229.2 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)