Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_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.01207/0.01207, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001986/0.001986, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 0.5857 GB, free: 3.27 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4463, allocations: 81.02 MB / 0.6649 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1906/0.6369, allocations: 156.7 MB / 0.8179 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02727/0.6642, allocations: 21.73 MB / 0.8391 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.6661, allocations: 51.69 kB / 0.8392 GB, free: 13.94 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.668, allocations: 1.169 MB / 0.8403 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.6696, allocations: 0.8523 MB / 0.8411 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.6708, allocations: 448.7 kB / 0.8416 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.6725, allocations: 1.255 MB / 0.8428 GB, free: 10.21 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.6735, allocations: 0.6864 MB / 0.8435 GB, free: 9.527 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.6744, allocations: 0.5452 MB / 0.844 GB, free: 8.98 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.6757, allocations: 0.9177 MB / 0.8449 GB, free: 8.062 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.6759, allocations: 68 kB / 0.845 GB, free: 7.996 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.6763, allocations: 112 kB / 0.8451 GB, free: 7.887 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.6767, allocations: 316.7 kB / 0.8454 GB, free: 7.574 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.6772, allocations: 0.489 MB / 0.8458 GB, free: 7.082 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.6788, allocations: 1.207 MB / 0.847 GB, free: 5.871 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6788, allocations: 0 / 0.847 GB, free: 5.871 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6788, allocations: 0 / 0.847 GB, free: 5.871 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.6789, allocations: 0 / 0.847 GB, free: 5.871 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.002878/0.6817, allocations: 1.521 MB / 0.8485 GB, free: 4.297 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.6818, allocations: 16.02 kB / 0.8485 GB, free: 4.281 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.682, allocations: 82.72 kB / 0.8486 GB, free: 4.191 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.6822, allocations: 143.6 kB / 0.8487 GB, free: 4.051 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.6833, allocations: 0.6675 MB / 0.8494 GB, free: 3.332 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.6834, allocations: 74.62 kB / 0.8495 GB, free: 3.25 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.6835, allocations: 48 kB / 0.8495 GB, free: 3.203 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.6845, allocations: 0.5223 MB / 0.85 GB, free: 2.672 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.6846, allocations: 0 / 0.85 GB, free: 2.672 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.6846, allocations: 23.98 kB / 0.85 GB, free: 2.648 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.6847, allocations: 11.94 kB / 0.8501 GB, free: 2.637 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008992/0.6856, allocations: 415.7 kB / 0.8504 GB, free: 2.23 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.003953/0.6895, allocations: 2.8 MB / 0.8532 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.6906, allocations: 459.3 kB / 0.8536 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.6912, allocations: 285.5 kB / 0.8539 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.6913, allocations: 4.328 kB / 0.8539 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/0.6919, allocations: 298.8 kB / 0.8542 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.6919, allocations: 0 / 0.8542 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.003088/0.695, allocations: 1.248 MB / 0.8554 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.6951, allocations: 55.41 kB / 0.8555 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.6971, allocations: 1.755 MB / 0.8572 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.6971, allocations: 37.7 kB / 0.8572 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.6976, allocations: 0.5261 MB / 0.8577 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.6978, allocations: 150.8 kB / 0.8579 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.6979, allocations: 98.23 kB / 0.858 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6981, allocations: 325.9 kB / 0.8583 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.6986, allocations: 221 kB / 0.8585 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.6992, allocations: 324.9 kB / 0.8588 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/0.7002, allocations: 0.5103 MB / 0.8593 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7002, allocations: 448 / 0.8593 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001738/0.702, allocations: 0.8507 MB / 0.8601 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.702, allocations: 15.92 kB / 0.8601 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.702, allocations: 128 / 0.8601 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.7026, allocations: 184.7 kB / 0.8603 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.7029, allocations: 91.88 kB / 0.8604 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003789/0.7067, allocations: 3.007 MB / 0.8633 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.7072, allocations: 83.64 kB / 0.8634 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.7073, allocations: 20 kB / 0.8634 GB, free: 4.363 MB / 0.6856 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.0005231/0.7078, allocations: 391.2 kB / 0.8638 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.7079, allocations: 123.2 kB / 0.8639 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.7082, allocations: 143.7 kB / 0.8641 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7082, allocations: 4 kB / 0.8641 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.7082, allocations: 8 kB / 0.8641 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.7082, allocations: 0 / 0.8641 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.7108, allocations: 1.567 MB / 0.8656 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7108, allocations: 0 / 0.8656 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.711, allocations: 39.97 kB / 0.8656 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005111/0.7115, allocations: 197.6 kB / 0.8658 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.7116, allocations: 12 kB / 0.8658 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3072/1.019, allocations: 4.543 MB / 0.8703 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.019, allocations: 0 / 0.8703 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/1.021, allocations: 1.061 MB / 0.8713 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/1.021, allocations: 223.1 kB / 0.8715 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.021, allocations: 17.88 kB / 0.8715 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/1.022, allocations: 29.78 kB / 0.8716 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/1.022, allocations: 51.41 kB / 0.8716 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/1.022, allocations: 15.91 kB / 0.8716 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001834/1.024, allocations: 1.279 MB / 0.8729 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/1.024, allocations: 0.5312 kB / 0.8729 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009878/1.025, allocations: 203.3 kB / 0.8731 GB, free: 190.4 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,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.003828/1.029, allocations: 2.001 MB / 0.875 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001665/1.03, allocations: 0.715 MB / 0.8757 GB, free: 189 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.03, allocations: 0 / 0.8757 GB, free: 189 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/1.031, allocations: 0.5565 MB / 0.8763 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.032, allocations: 193.4 kB / 0.8765 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/1.045, allocations: 8.621 MB / 0.8849 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/1.045, allocations: 1.154 MB / 0.886 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003229/1.045, allocations: 85.42 kB / 0.8861 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/1.046, allocations: 410.8 kB / 0.8865 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/1.046, allocations: 0 / 0.8865 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05527/1.101, allocations: 21.22 MB / 0.9072 GB, free: 170.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.5, allocations: 15.09 kB / 0.9072 GB, free: 170.8 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)