Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.006985/0.006985, allocations: 102.2 kB / 15.73 MB, free: 6.059 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.00175/0.00175, allocations: 192 kB / 16.67 MB, free: 5.984 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9141/0.9141, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5015, allocations: 80.91 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1863/0.6878, allocations: 157.2 MB / 0.8177 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02706/0.7149, allocations: 21.98 MB / 0.8392 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.7174, allocations: 59.69 kB / 0.8392 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.7199, allocations: 2.155 MB / 0.8413 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.7222, allocations: 1.433 MB / 0.8427 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.7238, allocations: 0.5822 MB / 0.8433 GB, free: 9.477 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.7259, allocations: 1.836 MB / 0.8451 GB, free: 7.637 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.7272, allocations: 1.082 MB / 0.8462 GB, free: 6.535 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.7283, allocations: 0.888 MB / 0.847 GB, free: 5.645 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.7299, allocations: 1.53 MB / 0.8485 GB, free: 4.113 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.7301, allocations: 91.94 kB / 0.8486 GB, free: 4.023 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.7304, allocations: 139.9 kB / 0.8487 GB, free: 3.887 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.7308, allocations: 0.52 MB / 0.8492 GB, free: 3.363 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006721/0.7315, allocations: 0.7641 MB / 0.85 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.7333, allocations: 1.856 MB / 0.8518 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7334, allocations: 0 / 0.8518 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7334, allocations: 4 kB / 0.8518 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.7334, allocations: 0 / 0.8518 GB, free: 0.7266 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003252/0.7367, allocations: 2.285 MB / 0.854 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.7367, allocations: 8.031 kB / 0.854 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.7368, allocations: 110.6 kB / 0.8542 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.7371, allocations: 233.6 kB / 0.8544 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.7383, allocations: 1.003 MB / 0.8554 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.7385, allocations: 90.98 kB / 0.8554 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.975e-05/0.7386, allocations: 64 kB / 0.8555 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.7398, allocations: 0.729 MB / 0.8562 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.7399, allocations: 3.984 kB / 0.8562 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.7399, allocations: 24 kB / 0.8562 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.7399, allocations: 19.94 kB / 0.8563 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.7411, allocations: 0.5946 MB / 0.8568 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004722/0.7458, allocations: 3.505 MB / 0.8603 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.7473, allocations: 0.7049 MB / 0.8609 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007214/0.748, allocations: 410.3 kB / 0.8613 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.103e-05/0.7481, allocations: 16.53 kB / 0.8614 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007415/0.7488, allocations: 422.9 kB / 0.8618 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 3.016e-06/0.7488, allocations: 0 / 0.8618 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.004423/0.7533, allocations: 1.796 MB / 0.8635 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.7533, allocations: 71.95 kB / 0.8636 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003548/0.7569, allocations: 3.304 MB / 0.8668 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.757, allocations: 45.7 kB / 0.8669 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.3683/1.125, allocations: 0.8774 MB / 0.8677 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/1.126, allocations: 227.1 kB / 0.8679 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/1.126, allocations: 130.6 kB / 0.8681 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/1.126, allocations: 338.7 kB / 0.8684 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007979/1.127, allocations: 306.4 kB / 0.8687 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/1.128, allocations: 431.3 kB / 0.8691 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.129, allocations: 0.7193 MB / 0.8698 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.129, allocations: 1.062 kB / 0.8698 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002695/1.132, allocations: 1.216 MB / 0.871 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.132, allocations: 7.469 kB / 0.871 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.132, allocations: 3.844 kB / 0.871 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007679/1.133, allocations: 261.6 kB / 0.8712 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/1.133, allocations: 130.1 kB / 0.8714 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/1.138, allocations: 4.764 MB / 0.876 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/1.139, allocations: 92.53 kB / 0.8761 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/1.139, allocations: 25.92 kB / 0.8761 GB, free: 188.6 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001293/1.14, allocations: 0.6073 MB / 0.8767 GB, free: 188.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/1.141, allocations: 206.3 kB / 0.8769 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/1.141, allocations: 258.1 kB / 0.8772 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.141, allocations: 9.719 kB / 0.8772 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.141, allocations: 4.062 kB / 0.8772 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.141, allocations: 6.5 kB / 0.8772 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/1.145, allocations: 2.328 MB / 0.8794 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.145, allocations: 14.91 kB / 0.8795 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/1.146, allocations: 69.42 kB / 0.8795 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007061/1.146, allocations: 245.8 kB / 0.8798 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/1.146, allocations: 20.55 kB / 0.8798 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/1.15, allocations: 4.752 MB / 0.8844 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.15, allocations: 0 / 0.8844 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/1.153, allocations: 1.574 MB / 0.886 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/1.153, allocations: 311.4 kB / 0.8863 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.154, allocations: 26.52 kB / 0.8863 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/1.154, allocations: 33.19 kB / 0.8863 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.154, allocations: 76.98 kB / 0.8864 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/1.154, allocations: 24.36 kB / 0.8864 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002527/1.157, allocations: 2.423 MB / 0.8888 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.157, allocations: 0 / 0.8888 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001006/1.158, allocations: 289.5 kB / 0.8891 GB, free: 180.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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.00354/1.161, allocations: 2.514 MB / 0.8915 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.163, allocations: 1.063 MB / 0.8925 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.163, allocations: 0 / 0.8925 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009191/1.164, allocations: 0.6908 MB / 0.8932 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.165, allocations: 283.3 kB / 0.8935 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/1.183, allocations: 13.71 MB / 0.9069 GB, free: 170.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/1.184, allocations: 1.53 MB / 0.9084 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004252/1.185, allocations: 150.4 kB / 0.9085 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/1.185, allocations: 0.7101 MB / 0.9092 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.012e-06/1.185, allocations: 2.625 kB / 0.9092 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05892/1.244, allocations: 32.95 MB / 0.9414 GB, free: 136 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.81, allocations: 13.03 kB / 0.9414 GB, free: 136 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)