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.01103/0.01103, allocations: 98.64 kB / 15.73 MB, free: 6.449 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.002123/0.002123, allocations: 197.6 kB / 16.68 MB, free: 6.348 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4528, allocations: 80.92 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1772/0.6301, allocations: 156.7 MB / 0.8172 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.6572, allocations: 21.75 MB / 0.8384 GB, free: 14.49 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.6591, allocations: 51.69 kB / 0.8385 GB, free: 14.44 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.6606, allocations: 1.165 MB / 0.8396 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.6619, allocations: 0.8679 MB / 0.8405 GB, free: 12.4 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.663, allocations: 441.3 kB / 0.8409 GB, free: 11.97 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.6641, allocations: 1.263 MB / 0.8421 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007839/0.6649, allocations: 0.6865 MB / 0.8428 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.6655, allocations: 0.5491 MB / 0.8433 GB, free: 9.469 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009781/0.6665, allocations: 0.9216 MB / 0.8442 GB, free: 8.547 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.6666, allocations: 64 kB / 0.8443 GB, free: 8.484 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.6669, allocations: 116 kB / 0.8444 GB, free: 8.371 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.6671, allocations: 316.7 kB / 0.8447 GB, free: 8.059 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.6675, allocations: 488.8 kB / 0.8452 GB, free: 7.578 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.6687, allocations: 1.211 MB / 0.8463 GB, free: 6.363 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6688, allocations: 0 / 0.8463 GB, free: 6.363 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6688, allocations: 0 / 0.8463 GB, free: 6.363 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.6688, allocations: 4 kB / 0.8463 GB, free: 6.359 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.002072/0.6709, allocations: 1.517 MB / 0.8478 GB, free: 4.789 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.6709, allocations: 12.03 kB / 0.8478 GB, free: 4.777 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.958e-05/0.671, allocations: 86.7 kB / 0.8479 GB, free: 4.684 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.6712, allocations: 139.6 kB / 0.8481 GB, free: 4.547 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.672, allocations: 0.6753 MB / 0.8487 GB, free: 3.82 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.6722, allocations: 74.67 kB / 0.8488 GB, free: 3.738 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.858e-05/0.6722, allocations: 48 kB / 0.8488 GB, free: 3.691 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.6731, allocations: 0.5223 MB / 0.8493 GB, free: 3.16 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.6731, allocations: 4 kB / 0.8493 GB, free: 3.156 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.6732, allocations: 16 kB / 0.8494 GB, free: 3.141 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.6732, allocations: 15.94 kB / 0.8494 GB, free: 3.125 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.674, allocations: 411.7 kB / 0.8498 GB, free: 2.723 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.003204/0.6772, allocations: 2.724 MB / 0.8524 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.6781, allocations: 445.1 kB / 0.8529 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/0.6788, allocations: 305.3 kB / 0.8531 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.6788, allocations: 4.328 kB / 0.8531 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000515/0.6793, allocations: 288.1 kB / 0.8534 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=44): time 1.784e-06/0.6793, allocations: 0 / 0.8534 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=44): time 0.002515/0.6819, allocations: 1.151 MB / 0.8545 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.6819, allocations: 63.33 kB / 0.8546 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.6836, allocations: 1.772 MB / 0.8563 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.6836, allocations: 37.7 kB / 0.8564 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.6841, allocations: 0.5215 MB / 0.8569 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.6842, allocations: 158.7 kB / 0.857 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.6844, allocations: 98.23 kB / 0.8571 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6845, allocations: 325.9 kB / 0.8574 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.6849, allocations: 224.9 kB / 0.8577 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.6855, allocations: 335.2 kB / 0.858 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.6864, allocations: 0.5127 MB / 0.8585 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6864, allocations: 0 / 0.8585 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001523/0.6879, allocations: 0.8212 MB / 0.8593 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6879, allocations: 4 kB / 0.8593 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.688, allocations: 4 kB / 0.8593 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.6884, allocations: 133 kB / 0.8594 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.6887, allocations: 103.8 kB / 0.8595 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.6916, allocations: 2.6 MB / 0.862 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.692, allocations: 83.58 kB / 0.8621 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.6921, allocations: 20 kB / 0.8621 GB, free: 5.461 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.0004542/0.6925, allocations: 399.2 kB / 0.8625 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.6927, allocations: 127.1 kB / 0.8626 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.6929, allocations: 139.7 kB / 0.8628 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6929, allocations: 4 kB / 0.8628 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6929, allocations: 4 kB / 0.8628 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6929, allocations: 0 / 0.8628 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.6953, allocations: 1.486 MB / 0.8642 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.6953, allocations: 8 kB / 0.8642 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.6956, allocations: 51.89 kB / 0.8643 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/0.6961, allocations: 157.6 kB / 0.8644 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.6961, allocations: 12 kB / 0.8645 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3738/1.07, allocations: 4.019 MB / 0.8684 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.07, allocations: 0.5156 kB / 0.8684 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.072, allocations: 0.9899 MB / 0.8693 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/1.072, allocations: 221.2 kB / 0.8696 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/1.072, allocations: 13.06 kB / 0.8696 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/1.073, allocations: 30.5 kB / 0.8696 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.073, allocations: 53.03 kB / 0.8697 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/1.073, allocations: 17.14 kB / 0.8697 GB, free: 192 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001684/1.075, allocations: 1.288 MB / 0.8709 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.51e-07/1.075, allocations: 0 / 0.8709 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008028/1.075, allocations: 199.6 kB / 0.8711 GB, free: 191.6 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.00301/1.078, allocations: 1.915 MB / 0.873 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001588/1.08, allocations: 0.6755 MB / 0.8736 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.08, allocations: 0.625 kB / 0.8736 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008988/1.081, allocations: 0.5176 MB / 0.8742 GB, free: 190 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.082, allocations: 203.8 kB / 0.8743 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.096, allocations: 8.556 MB / 0.8827 GB, free: 186 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/1.096, allocations: 1.149 MB / 0.8838 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003648/1.097, allocations: 93 kB / 0.8839 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/1.097, allocations: 404.9 kB / 0.8843 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/1.097, allocations: 0 / 0.8843 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07413/1.171, allocations: 20.85 MB / 0.9047 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/12.11, allocations: 11.78 kB / 0.9047 GB, free: 173.6 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)