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.006276/0.006276, allocations: 102 kB / 15.73 MB, free: 6.441 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.001383/0.001383, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8203/0.8203, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 59.91 kB / 0.5809 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.567, allocations: 80.2 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.2134/0.7805, allocations: 156.7 MB / 0.8122 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03138/0.8119, allocations: 21.74 MB / 0.8334 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.8144, allocations: 55.69 kB / 0.8335 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.8165, allocations: 1.161 MB / 0.8346 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.8184, allocations: 0.8562 MB / 0.8355 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.82, allocations: 442.3 kB / 0.8359 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.822, allocations: 1.255 MB / 0.8371 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.8232, allocations: 0.6804 MB / 0.8378 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.8245, allocations: 0.5529 MB / 0.8383 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.826, allocations: 0.9177 MB / 0.8392 GB, free: 13.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.8262, allocations: 68 kB / 0.8393 GB, free: 13.05 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.8265, allocations: 112 kB / 0.8394 GB, free: 12.94 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.8269, allocations: 312.8 kB / 0.8397 GB, free: 12.64 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005606/0.8275, allocations: 492.8 kB / 0.8402 GB, free: 12.15 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.8291, allocations: 1.213 MB / 0.8413 GB, free: 10.94 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8291, allocations: 0 / 0.8413 GB, free: 10.94 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8291, allocations: 0 / 0.8413 GB, free: 10.94 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.8292, allocations: 0 / 0.8413 GB, free: 10.94 MB / 0.67 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.002567/0.8317, allocations: 1.525 MB / 0.8428 GB, free: 9.359 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.8318, allocations: 12.03 kB / 0.8428 GB, free: 9.348 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.8319, allocations: 86.7 kB / 0.8429 GB, free: 9.254 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.8321, allocations: 139.6 kB / 0.8431 GB, free: 9.117 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.8331, allocations: 0.6714 MB / 0.8437 GB, free: 8.391 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.8333, allocations: 70.69 kB / 0.8438 GB, free: 8.316 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.8334, allocations: 51.98 kB / 0.8438 GB, free: 8.266 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.8344, allocations: 0.5184 MB / 0.8443 GB, free: 7.738 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.8344, allocations: 0 / 0.8443 GB, free: 7.738 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.8345, allocations: 16 kB / 0.8443 GB, free: 7.723 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.8345, allocations: 15.94 kB / 0.8444 GB, free: 7.707 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008925/0.8354, allocations: 419.7 kB / 0.8448 GB, free: 7.293 MB / 0.67 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.003909/0.8393, allocations: 2.724 MB / 0.8474 GB, free: 4.336 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.8404, allocations: 442.5 kB / 0.8478 GB, free: 3.898 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.8411, allocations: 306.2 kB / 0.8481 GB, free: 3.598 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.8411, allocations: 12.25 kB / 0.8481 GB, free: 3.586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000583/0.8417, allocations: 279.8 kB / 0.8484 GB, free: 3.301 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 2.525e-06/0.8417, allocations: 0 / 0.8484 GB, free: 3.301 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.002957/0.8447, allocations: 1.158 MB / 0.8495 GB, free: 2.094 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.8448, allocations: 59.41 kB / 0.8496 GB, free: 2.023 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.8468, allocations: 1.764 MB / 0.8513 GB, free: 256 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.8469, allocations: 37.7 kB / 0.8514 GB, free: 212 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/0.8475, allocations: 0.5294 MB / 0.8519 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.8476, allocations: 154.6 kB / 0.852 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.8478, allocations: 98.25 kB / 0.8521 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.848, allocations: 329.9 kB / 0.8524 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.8485, allocations: 213 kB / 0.8526 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.8491, allocations: 343.1 kB / 0.853 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.8501, allocations: 0.5096 MB / 0.8535 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8501, allocations: 0 / 0.8535 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001715/0.8518, allocations: 0.8212 MB / 0.8543 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.8518, allocations: 4 kB / 0.8543 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8519, allocations: 4 kB / 0.8543 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.8523, allocations: 140.9 kB / 0.8544 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.8527, allocations: 95.86 kB / 0.8545 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.856, allocations: 2.624 MB / 0.8571 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.8565, allocations: 79.58 kB / 0.8571 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.8566, allocations: 20 kB / 0.8572 GB, free: 10.02 MB / 0.6856 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.0005755/0.8572, allocations: 389.6 kB / 0.8575 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.8573, allocations: 127.1 kB / 0.8576 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.8575, allocations: 147.8 kB / 0.8578 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8576, allocations: 4 kB / 0.8578 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.8576, allocations: 4 kB / 0.8578 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.8576, allocations: 0 / 0.8578 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.8601, allocations: 1.489 MB / 0.8593 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.8601, allocations: 0 / 0.8593 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.8603, allocations: 43.95 kB / 0.8593 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/0.8608, allocations: 157.6 kB / 0.8594 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.8609, allocations: 15.98 kB / 0.8595 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004454/0.8653, allocations: 4.033 MB / 0.8634 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.8654, allocations: 0 / 0.8634 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.8673, allocations: 0.982 MB / 0.8644 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.8676, allocations: 220.2 kB / 0.8646 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8677, allocations: 12 kB / 0.8646 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.868, allocations: 35.91 kB / 0.8646 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.8682, allocations: 56 kB / 0.8647 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.8682, allocations: 15.94 kB / 0.8647 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001666/0.8699, allocations: 1.289 MB / 0.8659 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.164e-06/0.8699, allocations: 0 / 0.8659 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008113/0.8707, allocations: 207.6 kB / 0.8661 GB, free: 432 kB / 0.6856 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.345/1.216, allocations: 1.893 MB / 0.868 GB, free: 194.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.217, allocations: 0.667 MB / 0.8686 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.217, allocations: 0 / 0.8686 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007871/1.218, allocations: 0.528 MB / 0.8692 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.219, allocations: 197.6 kB / 0.8693 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/1.236, allocations: 8.558 MB / 0.8777 GB, free: 191 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/1.236, allocations: 1.148 MB / 0.8788 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003999/1.237, allocations: 103.6 kB / 0.8789 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/1.237, allocations: 405.9 kB / 0.8793 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of SimCode: time 7.51e-07/1.237, allocations: 0 / 0.8793 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/1.295, allocations: 20.86 MB / 0.8997 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.87, allocations: 12.59 kB / 0.8997 GB, free: 180.3 MB / 0.6856 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)