Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_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.001522/0.001522, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 186 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 292.3 MB / 0.549 GB, free: 12.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 70.02 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1964, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5396/0.736, allocations: 156.7 MB / 0.9367 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.7592, allocations: 21.55 MB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.7616, allocations: 50.88 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.7632, allocations: 1.168 MB / 0.9589 GB, free: 4.484 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001715/0.765, allocations: 0.8532 MB / 0.9597 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.7662, allocations: 406 kB / 0.9601 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.768, allocations: 1.244 MB / 0.9613 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008943/0.7689, allocations: 0.6844 MB / 0.962 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.7698, allocations: 0.5513 MB / 0.9625 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.7708, allocations: 0.9093 MB / 0.9634 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.7709, allocations: 69.03 kB / 0.9635 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.7712, allocations: 110.3 kB / 0.9636 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.7714, allocations: 314.9 kB / 0.9639 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.7718, allocations: 491.8 kB / 0.9644 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.7729, allocations: 1.2 MB / 0.9655 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7729, allocations: 5.375 kB / 0.9656 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7729, allocations: 0 / 0.9656 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.7729, allocations: 0 / 0.9656 GB, free: 3.781 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002397/0.7753, allocations: 1.466 MB / 0.967 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7754, allocations: 9.469 kB / 0.967 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.735e-05/0.7755, allocations: 84.16 kB / 0.9671 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.7757, allocations: 130.9 kB / 0.9672 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.7765, allocations: 0.6732 MB / 0.9679 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.7766, allocations: 72 kB / 0.9679 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.7767, allocations: 48 kB / 0.968 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009021/0.7776, allocations: 0.5157 MB / 0.9685 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.7777, allocations: 1.375 kB / 0.9685 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.7777, allocations: 20.12 kB / 0.9685 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.7777, allocations: 11 kB / 0.9685 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.7785, allocations: 411.8 kB / 0.9689 GB, free: 18.27 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.003201/0.7817, allocations: 2.716 MB / 0.9716 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/0.7826, allocations: 454.4 kB / 0.972 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.7832, allocations: 316.6 kB / 0.9723 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.7832, allocations: 4.469 kB / 0.9723 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005235/0.7838, allocations: 290.9 kB / 0.9726 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 2.575e-06/0.7838, allocations: 4 kB / 0.9726 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002379/0.7862, allocations: 1.141 MB / 0.9737 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.7862, allocations: 60.38 kB / 0.9737 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.7878, allocations: 1.754 MB / 0.9755 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.7879, allocations: 41.48 kB / 0.9755 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.7882, allocations: 0.5305 MB / 0.976 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.7883, allocations: 138.8 kB / 0.9761 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.7884, allocations: 99.39 kB / 0.9762 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.7885, allocations: 330.3 kB / 0.9766 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.7889, allocations: 207 kB / 0.9768 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.7894, allocations: 341.6 kB / 0.9771 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.7902, allocations: 0.5179 MB / 0.9776 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7902, allocations: 0 / 0.9776 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00136/0.7916, allocations: 0.8113 MB / 0.9784 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7916, allocations: 12.09 kB / 0.9784 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.7916, allocations: 1.906 kB / 0.9784 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.792, allocations: 137.7 kB / 0.9785 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.7923, allocations: 107.6 kB / 0.9786 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.7949, allocations: 2.598 MB / 0.9812 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.7953, allocations: 79.44 kB / 0.9812 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.7954, allocations: 20.94 kB / 0.9813 GB, free: 10.91 MB / 0.7325 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,$PRE.mean.y,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.0004986/0.7959, allocations: 385 kB / 0.9816 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.796, allocations: 113.7 kB / 0.9817 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.7962, allocations: 152.6 kB / 0.9819 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7962, allocations: 5.188 kB / 0.9819 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.7962, allocations: 2.906 kB / 0.9819 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.7962, allocations: 2.625 kB / 0.9819 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.7983, allocations: 1.491 MB / 0.9833 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7983, allocations: 0 / 0.9833 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.7985, allocations: 45.3 kB / 0.9834 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000364/0.7989, allocations: 166.5 kB / 0.9835 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.799, allocations: 16.41 kB / 0.9836 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.8023, allocations: 4.017 MB / 0.9875 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8023, allocations: 144 / 0.9875 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.8039, allocations: 0.9921 MB / 0.9885 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.8042, allocations: 206.9 kB / 0.9887 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.101e-05/0.8043, allocations: 15.23 kB / 0.9887 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.8046, allocations: 33.56 kB / 0.9887 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.8047, allocations: 59.62 kB / 0.9888 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.8048, allocations: 10.19 kB / 0.9888 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001316/0.8061, allocations: 1.288 MB / 0.99 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8061, allocations: 0 / 0.99 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007785/0.8069, allocations: 201.2 kB / 0.9902 GB, free: 4.656 MB / 0.7325 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) * 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.002709/0.8096, allocations: 1.904 MB / 0.9921 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.8109, allocations: 0.6593 MB / 0.9927 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.8109, allocations: 0 / 0.9927 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007357/0.8117, allocations: 0.529 MB / 0.9932 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009499/0.8126, allocations: 196.1 kB / 0.9934 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.8234, allocations: 8.497 MB / 1.002 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.8242, allocations: 1.145 MB / 1.003 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000376/0.8246, allocations: 101.9 kB / 1.003 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.825, allocations: 408.4 kB / 1.003 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of SimCode: time 8.12e-07/0.825, allocations: 0 / 1.003 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04288/0.8679, allocations: 20.48 MB / 1.023 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.88, allocations: 2.562 kB / 1.023 GB, free: 12.71 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)