Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_IDEAS_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.005781/0.005785, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001207/0.001207, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8091/0.8091, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.23 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.18, allocations: 80.22 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5877/0.7678, allocations: 156.7 MB / 0.8122 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02714/0.7949, allocations: 21.74 MB / 0.8334 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.7989, allocations: 54.91 kB / 0.8335 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.8008, allocations: 1.159 MB / 0.8346 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.803, allocations: 0.8625 MB / 0.8355 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.8045, allocations: 446.1 kB / 0.8359 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.8062, allocations: 1.27 MB / 0.8371 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008631/0.8071, allocations: 0.6798 MB / 0.8378 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007614/0.8079, allocations: 0.5629 MB / 0.8383 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009297/0.8088, allocations: 0.9168 MB / 0.8392 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.27e-05/0.8089, allocations: 65.91 kB / 0.8393 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.8092, allocations: 110.2 kB / 0.8394 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.8094, allocations: 322.3 kB / 0.8397 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.8098, allocations: 481.3 kB / 0.8402 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.8109, allocations: 1.206 MB / 0.8414 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.811, allocations: 0 / 0.8414 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.811, allocations: 0 / 0.8414 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.811, allocations: 2.5 kB / 0.8414 GB, free: 8.109 MB / 0.6075 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.002171/0.8132, allocations: 1.473 MB / 0.8428 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.8132, allocations: 10.09 kB / 0.8428 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.8133, allocations: 85.8 kB / 0.8429 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.8135, allocations: 137.9 kB / 0.843 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007921/0.8143, allocations: 0.6631 MB / 0.8437 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.8144, allocations: 73.94 kB / 0.8437 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.8145, allocations: 46.81 kB / 0.8438 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008562/0.8154, allocations: 0.5219 MB / 0.8443 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.8154, allocations: 2.656 kB / 0.8443 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.8155, allocations: 15 kB / 0.8443 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.8155, allocations: 9.938 kB / 0.8443 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.8163, allocations: 423 kB / 0.8447 GB, free: 5.629 MB / 0.6075 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.003209/0.8195, allocations: 2.715 MB / 0.8474 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.8204, allocations: 448.7 kB / 0.8478 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.821, allocations: 303 kB / 0.8481 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.821, allocations: 16.91 kB / 0.8481 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.8215, allocations: 287.5 kB / 0.8484 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.395e-06/0.8216, allocations: 0 / 0.8484 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002528/0.8241, allocations: 1.148 MB / 0.8495 GB, free: 2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.8241, allocations: 56.28 kB / 0.8496 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.826, allocations: 1.766 MB / 0.8513 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.826, allocations: 37.7 kB / 0.8513 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.8264, allocations: 0.5172 MB / 0.8518 GB, free: 428 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.8266, allocations: 146 kB / 0.852 GB, free: 280 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.8267, allocations: 94.25 kB / 0.852 GB, free: 180 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8269, allocations: 341.9 kB / 0.8524 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.8273, allocations: 205 kB / 0.8526 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.8278, allocations: 339.1 kB / 0.8529 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/0.8287, allocations: 0.5201 MB / 0.8534 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8287, allocations: 0 / 0.8534 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001548/0.8302, allocations: 0.8027 MB / 0.8542 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.8303, allocations: 8.219 kB / 0.8542 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.8303, allocations: 11.94 kB / 0.8542 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.8307, allocations: 132.7 kB / 0.8543 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.8311, allocations: 103.9 kB / 0.8544 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.834, allocations: 2.613 MB / 0.857 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.8346, allocations: 75.48 kB / 0.8571 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.8347, allocations: 28.06 kB / 0.8571 GB, free: 10.78 MB / 0.6231 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.0007518/0.8355, allocations: 386.1 kB / 0.8574 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.8356, allocations: 122.4 kB / 0.8576 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.8359, allocations: 139.7 kB / 0.8577 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.8359, allocations: 4 kB / 0.8577 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.8359, allocations: 0 / 0.8577 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.8359, allocations: 7.984 kB / 0.8577 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.8385, allocations: 1.493 MB / 0.8592 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8385, allocations: 0 / 0.8592 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.8388, allocations: 43.97 kB / 0.8592 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.8392, allocations: 164.9 kB / 0.8594 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.8392, allocations: 19.92 kB / 0.8594 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.8431, allocations: 4.026 MB / 0.8633 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8431, allocations: 3.938 kB / 0.8633 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.8449, allocations: 0.9814 MB / 0.8643 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.8453, allocations: 215.5 kB / 0.8645 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.8455, allocations: 15.98 kB / 0.8645 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.8458, allocations: 27.97 kB / 0.8645 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.846, allocations: 59.81 kB / 0.8646 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.8461, allocations: 19.94 kB / 0.8646 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001675/0.8477, allocations: 1.293 MB / 0.8659 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8478, allocations: 0 / 0.8659 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007826/0.8485, allocations: 187.7 kB / 0.866 GB, free: 1.203 MB / 0.6231 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.002917/0.8515, allocations: 1.901 MB / 0.8679 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.8528, allocations: 0.6597 MB / 0.8685 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8529, allocations: 4.062 kB / 0.8685 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.8537, allocations: 0.5282 MB / 0.8691 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009669/0.8546, allocations: 196.5 kB / 0.8692 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.8675, allocations: 8.502 MB / 0.8776 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009553/0.8685, allocations: 1.153 MB / 0.8787 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004159/0.8689, allocations: 96.7 kB / 0.8788 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.8694, allocations: 407.3 kB / 0.8792 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of SimCode: time 1.132e-06/0.8695, allocations: 3.938 kB / 0.8792 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/0.9225, allocations: 20.83 MB / 0.8995 GB, free: 15.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.9, allocations: 15.11 kB / 0.8995 GB, free: 15.09 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)