Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_dev_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.007321/0.007321, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001288/0.001288, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.418/1.418, 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/IDEAS 3.0.0-master/package.mo): time 0.9917/0.9917, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5166, allocations: 80.92 MB / 0.6642 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1865/0.7032, allocations: 156.7 MB / 0.8172 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02994/0.7332, allocations: 21.73 MB / 0.8384 GB, free: 14.52 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.736, allocations: 59.62 kB / 0.8385 GB, free: 14.46 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.7381, allocations: 1.165 MB / 0.8396 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.7402, allocations: 0.864 MB / 0.8405 GB, free: 12.42 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.7418, allocations: 440.7 kB / 0.8409 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.7442, allocations: 1.259 MB / 0.8421 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.7455, allocations: 0.6804 MB / 0.8428 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.7469, allocations: 0.5647 MB / 0.8433 GB, free: 9.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.7485, allocations: 0.9177 MB / 0.8442 GB, free: 8.562 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.7488, allocations: 71.94 kB / 0.8443 GB, free: 8.492 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.7493, allocations: 108 kB / 0.8444 GB, free: 8.387 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.7497, allocations: 316.7 kB / 0.8447 GB, free: 8.074 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008025/0.7505, allocations: 488.8 kB / 0.8452 GB, free: 7.594 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.7525, allocations: 1.213 MB / 0.8463 GB, free: 6.379 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7525, allocations: 0 / 0.8463 GB, free: 6.379 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7525, allocations: 0 / 0.8463 GB, free: 6.379 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.307e-05/0.7525, allocations: 0 / 0.8463 GB, free: 6.379 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.00319/0.7557, allocations: 1.529 MB / 0.8478 GB, free: 4.797 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.7558, allocations: 12.03 kB / 0.8478 GB, free: 4.785 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.7559, allocations: 78.7 kB / 0.8479 GB, free: 4.699 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.7562, allocations: 147.6 kB / 0.8481 GB, free: 4.555 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.7573, allocations: 0.6714 MB / 0.8487 GB, free: 3.832 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.7574, allocations: 78.69 kB / 0.8488 GB, free: 3.746 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.737e-05/0.7575, allocations: 48 kB / 0.8488 GB, free: 3.699 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.7586, allocations: 0.5184 MB / 0.8493 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.7586, allocations: 0 / 0.8493 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.7586, allocations: 19.98 kB / 0.8494 GB, free: 3.152 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.7587, allocations: 15.94 kB / 0.8494 GB, free: 3.137 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.7595, allocations: 411.7 kB / 0.8498 GB, free: 2.734 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.003705/0.7633, allocations: 2.72 MB / 0.8524 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/0.7643, allocations: 443.6 kB / 0.8528 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/0.7649, allocations: 305.3 kB / 0.8531 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.765, allocations: 8.312 kB / 0.8531 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000599/0.7656, allocations: 280.1 kB / 0.8534 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=44): time 3.276e-06/0.7656, allocations: 8 kB / 0.8534 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of matching and sorting (n=44): time 0.002768/0.7684, allocations: 1.151 MB / 0.8545 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.7684, allocations: 55.41 kB / 0.8546 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.7703, allocations: 1.764 MB / 0.8563 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.7704, allocations: 41.69 kB / 0.8564 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.7708, allocations: 0.5254 MB / 0.8569 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.771, allocations: 158.7 kB / 0.857 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.7711, allocations: 98.25 kB / 0.8571 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7713, allocations: 333.9 kB / 0.8574 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.7718, allocations: 208.9 kB / 0.8576 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.7724, allocations: 339.2 kB / 0.858 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/0.7733, allocations: 0.5202 MB / 0.8585 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.7733, allocations: 0 / 0.8585 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001596/0.7749, allocations: 0.8173 MB / 0.8593 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.775, allocations: 4 kB / 0.8593 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.775, allocations: 7.938 kB / 0.8593 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.7754, allocations: 131.8 kB / 0.8594 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.7758, allocations: 107.8 kB / 0.8595 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.7787, allocations: 2.602 MB / 0.862 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.7792, allocations: 83.64 kB / 0.8621 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.7792, allocations: 20 kB / 0.8621 GB, free: 5.473 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.0004404/0.7797, allocations: 388.8 kB / 0.8625 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.7798, allocations: 127.1 kB / 0.8626 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.78, allocations: 143.7 kB / 0.8628 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.78, allocations: 4 kB / 0.8628 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.7801, allocations: 4 kB / 0.8628 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7801, allocations: 3.984 kB / 0.8628 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.7824, allocations: 1.489 MB / 0.8642 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7824, allocations: 0 / 0.8642 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.7826, allocations: 47.91 kB / 0.8643 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.783, allocations: 161.6 kB / 0.8644 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.7831, allocations: 15.98 kB / 0.8645 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.388/1.171, allocations: 4.025 MB / 0.8684 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.171, allocations: 0 / 0.8684 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/1.173, allocations: 0.9907 MB / 0.8694 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/1.173, allocations: 222.5 kB / 0.8696 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/1.173, allocations: 12.95 kB / 0.8696 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/1.174, allocations: 26.56 kB / 0.8696 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.174, allocations: 48.48 kB / 0.8696 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/1.174, allocations: 16.78 kB / 0.8697 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001847/1.176, allocations: 1.289 MB / 0.8709 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/1.176, allocations: 0 / 0.8709 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007963/1.177, allocations: 195.8 kB / 0.8711 GB, free: 191.5 MB / 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.002989/1.18, allocations: 1.923 MB / 0.873 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001495/1.181, allocations: 0.6674 MB / 0.8736 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.181, allocations: 0.7188 kB / 0.8736 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008331/1.182, allocations: 0.5307 MB / 0.8742 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.183, allocations: 196.7 kB / 0.8743 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/1.197, allocations: 8.547 MB / 0.8827 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/1.198, allocations: 1.153 MB / 0.8838 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003885/1.198, allocations: 102.4 kB / 0.8839 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/1.199, allocations: 403.6 kB / 0.8843 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.443e-06/1.199, allocations: 0 / 0.8843 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05561/1.254, allocations: 20.84 MB / 0.9047 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.42, allocations: 18.58 kB / 0.9047 GB, free: 173.3 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)