Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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: "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.007012/0.007012, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001816/0.001816, allocations: 202 kB / 16.68 MB, free: 5.977 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002669/0.002668, allocations: 282.7 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002584, allocations: 105.6 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.175, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5527/0.7278, allocations: 156.7 MB / 0.9189 GB, free: 6.445 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02831/0.7561, allocations: 21.77 MB / 0.9402 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.7579, allocations: 47.75 kB / 0.9402 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.7598, allocations: 1.165 MB / 0.9414 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.7615, allocations: 0.8485 MB / 0.9422 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.7628, allocations: 451.7 kB / 0.9426 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.7645, allocations: 1.251 MB / 0.9439 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.7655, allocations: 0.6834 MB / 0.9445 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.7664, allocations: 0.5491 MB / 0.9451 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.7678, allocations: 0.9177 MB / 0.946 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.7679, allocations: 68 kB / 0.946 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.7682, allocations: 104 kB / 0.9461 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.7685, allocations: 320.7 kB / 0.9464 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/0.7691, allocations: 492.8 kB / 0.9469 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.7705, allocations: 1.199 MB / 0.9481 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7705, allocations: 0 / 0.9481 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7705, allocations: 0 / 0.9481 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.647e-05/0.7706, allocations: 4 kB / 0.9481 GB, free: 8.535 MB / 0.7012 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.002666/0.7732, allocations: 1.532 MB / 0.9496 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.7733, allocations: 12.03 kB / 0.9496 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.7734, allocations: 74.72 kB / 0.9497 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.7736, allocations: 148 kB / 0.9498 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/0.7746, allocations: 0.6756 MB / 0.9505 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.7748, allocations: 74.69 kB / 0.9505 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.37e-05/0.7749, allocations: 48 kB / 0.9506 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.7759, allocations: 0.53 MB / 0.9511 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.7759, allocations: 0 / 0.9511 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.776, allocations: 23.92 kB / 0.9511 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.776, allocations: 12 kB / 0.9511 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.7769, allocations: 411.7 kB / 0.9515 GB, free: 4.875 MB / 0.7012 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.003903/0.7808, allocations: 2.784 MB / 0.9542 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.7818, allocations: 452.6 kB / 0.9547 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.7824, allocations: 288.6 kB / 0.9549 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.7825, allocations: 8.312 kB / 0.955 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005761/0.7831, allocations: 302.7 kB / 0.9552 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.7831, allocations: 0 / 0.9552 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.003029/0.7861, allocations: 1.249 MB / 0.9565 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.7862, allocations: 55.41 kB / 0.9565 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.7882, allocations: 1.755 MB / 0.9582 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.7883, allocations: 37.7 kB / 0.9583 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.7888, allocations: 0.5144 MB / 0.9588 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.7889, allocations: 154.8 kB / 0.9589 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.7891, allocations: 102.2 kB / 0.959 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7893, allocations: 322 kB / 0.9593 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.7898, allocations: 221 kB / 0.9595 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.7904, allocations: 320.9 kB / 0.9598 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.7913, allocations: 0.5067 MB / 0.9603 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.7913, allocations: 0 / 0.9603 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001722/0.7931, allocations: 0.8681 MB / 0.9612 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.7931, allocations: 8 kB / 0.9612 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7931, allocations: 0 / 0.9612 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.7937, allocations: 187.6 kB / 0.9614 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.794, allocations: 99.86 kB / 0.9615 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.7979, allocations: 3.006 MB / 0.9644 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.7984, allocations: 67.64 kB / 0.9645 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.7984, allocations: 23.94 kB / 0.9645 GB, free: 7.02 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005211/0.7989, allocations: 391.3 kB / 0.9649 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.7991, allocations: 131.1 kB / 0.965 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.7994, allocations: 135.7 kB / 0.9651 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7994, allocations: 4 kB / 0.9651 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.7994, allocations: 4 kB / 0.9651 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.7994, allocations: 0 / 0.9651 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.8021, allocations: 1.564 MB / 0.9666 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8021, allocations: 4 kB / 0.9666 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.8023, allocations: 47.97 kB / 0.9667 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/0.8028, allocations: 191.1 kB / 0.9669 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.8029, allocations: 11.94 kB / 0.9669 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/0.8077, allocations: 4.56 MB / 0.9713 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8078, allocations: 0 / 0.9713 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.8098, allocations: 1.071 MB / 0.9724 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.8101, allocations: 228.1 kB / 0.9726 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.8103, allocations: 15.98 kB / 0.9726 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.8106, allocations: 23.97 kB / 0.9726 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.8108, allocations: 55.92 kB / 0.9727 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.8109, allocations: 16 kB / 0.9727 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001662/0.8125, allocations: 1.281 MB / 0.974 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8125, allocations: 0 / 0.974 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009778/0.8135, allocations: 199.8 kB / 0.9742 GB, free: 12.71 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_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,13,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.004018/0.8176, allocations: 1.984 MB / 0.9761 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.8192, allocations: 0.7192 MB / 0.9768 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.8192, allocations: 0 / 0.9768 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009889/0.8202, allocations: 0.5593 MB / 0.9773 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.8213, allocations: 207 kB / 0.9775 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.8348, allocations: 8.616 MB / 0.986 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009742/0.8358, allocations: 1.153 MB / 0.9871 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003057/0.8362, allocations: 96.7 kB / 0.9872 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.8366, allocations: 403.3 kB / 0.9876 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/0.8367, allocations: 0 / 0.9876 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05837/0.895, allocations: 21.26 MB / 1.008 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.84, allocations: 7.859 kB / 1.008 GB, free: 9.957 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)