Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.0009562, allocations: 94.14 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002538, allocations: 4 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2851, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09981/0.385, allocations: 81.02 MB / 482.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.3853, allocations: 71.97 kB / 482.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02616/0.4114, allocations: 9.958 MB / 492.6 MB, free: 5.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4115, allocations: 0 / 492.6 MB, free: 5.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.748e-05/0.4115, allocations: 12 kB / 492.6 MB, free: 5.316 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001414/0.4129, allocations: 0.8193 MB / 493.5 MB, free: 4.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.413, allocations: 12.03 kB / 493.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.4131, allocations: 79.08 kB / 493.5 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.4133, allocations: 71.25 kB / 493.6 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.4139, allocations: 385.7 kB / 494 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.414, allocations: 58.34 kB / 494 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.4141, allocations: 32 kB / 494.1 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.4149, allocations: 0.4934 MB / 494.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.415, allocations: 3.953 kB / 494.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.415, allocations: 16 kB / 494.6 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.415, allocations: 8 kB / 494.6 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/0.4159, allocations: 378.4 kB / 495 MB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.4181, allocations: 1.299 MB / 496.3 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.4189, allocations: 455.4 kB / 496.7 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.419, allocations: 8 kB / 496.7 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.419, allocations: 42.52 kB / 496.8 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.419, allocations: 0 / 496.8 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001605/0.4206, allocations: 0.7757 MB / 497.5 MB, free: 88 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/0.4209, allocations: 444.8 kB / 498 MB, free: 15.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.4214, allocations: 401.1 kB / 498.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.4214, allocations: 33.7 kB / 498.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.4216, allocations: 252.3 kB / 498.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.4218, allocations: 126.2 kB / 498.8 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/0.4218, allocations: 4 kB / 498.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.422, allocations: 354.8 kB / 499.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.4224, allocations: 159.8 kB / 499.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.4229, allocations: 302.2 kB / 499.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.4233, allocations: 208.8 kB / 499.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4233, allocations: 0 / 499.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009956/0.4243, allocations: 0.5116 MB / 0.4886 GB, free: 13.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.4243, allocations: 33.69 kB / 0.4886 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4244, allocations: 0 / 0.4886 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.4245, allocations: 49.7 kB / 0.4886 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.4249, allocations: 91.88 kB / 0.4887 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.4274, allocations: 2.768 MB / 0.4914 GB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.4277, allocations: 71.61 kB / 0.4915 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.4278, allocations: 12 kB / 0.4915 GB, free: 9.832 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.428, allocations: 173.7 kB / 0.4917 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.4281, allocations: 47.44 kB / 0.4917 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.4282, allocations: 56.75 kB / 0.4918 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4282, allocations: 0 / 0.4918 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4282, allocations: 4.656 kB / 0.4918 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009684/0.4292, allocations: 0.7635 MB / 0.4925 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.4309, allocations: 1.068 MB / 0.4936 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4309, allocations: 0 / 0.4936 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.4313, allocations: 95.81 kB / 0.4937 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4314, allocations: 4 kB / 0.4937 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.4314, allocations: 11.98 kB / 0.4937 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4314, allocations: 4 kB / 0.4937 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4314, allocations: 0 / 0.4937 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4327, allocations: 0.7055 MB / 0.4944 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.4329, allocations: 164.5 kB / 0.4945 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.433, allocations: 8 kB / 0.4945 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4333, allocations: 35.97 kB / 0.4946 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.646e-05/0.4334, allocations: 24.03 kB / 0.4946 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.4334, allocations: 15.98 kB / 0.4946 GB, free: 6.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003359/0.4337, allocations: 319.1 kB / 0.4949 GB, free: 6.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4337, allocations: 0 / 0.4949 GB, free: 6.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.4342, allocations: 139.8 kB / 0.495 GB, free: 6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001762/0.4359, allocations: 1.278 MB / 0.4963 GB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.4372, allocations: 0.6759 MB / 0.4969 GB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4372, allocations: 0 / 0.4969 GB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.4376, allocations: 195.9 kB / 0.4971 GB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.4382, allocations: 129.9 kB / 0.4973 GB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.4405, allocations: 1.651 MB / 0.4989 GB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.4409, allocations: 0.8472 MB / 0.4997 GB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.4412, allocations: 60.34 kB / 0.4998 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.4414, allocations: 171.4 kB / 0.4999 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4415, allocations: 0 / 0.4999 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.219/0.6605, allocations: 11.99 MB / 0.5116 GB, free: 96.64 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.6607, allocations: 206.2 kB / 0.5118 GB, free: 96.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.169, allocations: 0 / 0.5118 GB, free: 96.4 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat