Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 198.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 225.6 MB / 234.8 MB, free: 3.184 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009853/0.0009854, allocations: 94.94 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2631/0.2631, allocations: 45.15 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.72e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1564, allocations: 63.26 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.76/6.917, allocations: 2.771 GB / 3.276 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/6.917, allocations: 83.02 kB / 3.276 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.372/10.29, allocations: 0.8085 GB / 4.084 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.725e-06/10.29, allocations: 0 / 4.084 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002472/10.29, allocations: 44.34 kB / 4.084 GB, free: 48.93 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01567/10.31, allocations: 2.98 MB / 4.087 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.925e-05/10.31, allocations: 18.12 kB / 4.087 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/10.32, allocations: 0.8491 MB / 4.088 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/10.32, allocations: 1.107 MB / 4.089 GB, free: 47.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000649/10.32, allocations: 402.3 kB / 4.089 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009619/10.32, allocations: 99.22 kB / 4.089 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006235/10.33, allocations: 1.856 MB / 4.091 GB, free: 46.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009471/10.34, allocations: 2.387 MB / 4.094 GB, free: 46.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/10.34, allocations: 13.84 kB / 4.094 GB, free: 46.14 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009427/10.34, allocations: 20.55 kB / 4.094 GB, free: 46.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/10.34, allocations: 74.41 kB / 4.094 GB, free: 46.13 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.02482/10.36, allocations: 16.15 MB / 4.109 GB, free: 34.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/10.37, allocations: 0.7242 MB / 4.11 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008852/10.37, allocations: 381.6 kB / 4.11 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/10.37, allocations: 0.6963 MB / 4.111 GB, free: 33.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/10.37, allocations: 47.66 kB / 4.111 GB, free: 33.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=95): time 4.198e-06/10.37, allocations: 3.938 kB / 4.111 GB, free: 33.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=111): time 0.01583/10.38, allocations: 3.471 MB / 4.115 GB, free: 33.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/10.38, allocations: 170.1 kB / 4.115 GB, free: 33.04 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/10.39, allocations: 0.9841 MB / 4.116 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/10.39, allocations: 29.64 kB / 4.116 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/10.39, allocations: 0.9685 MB / 4.117 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/10.39, allocations: 389.7 kB / 4.117 GB, free: 32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/10.39, allocations: 2.75 kB / 4.117 GB, free: 32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003245/10.39, allocations: 448.9 kB / 4.118 GB, free: 31.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/10.39, allocations: 0.5123 MB / 4.118 GB, free: 31.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/10.39, allocations: 1.73 MB / 4.12 GB, free: 30.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/10.4, allocations: 0.8862 MB / 4.121 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.893e-05/10.4, allocations: 13.91 kB / 4.121 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.007232/10.4, allocations: 2.284 MB / 4.123 GB, free: 29.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/10.4, allocations: 21.31 kB / 4.123 GB, free: 29.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/10.4, allocations: 43.09 kB / 4.123 GB, free: 29.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/10.41, allocations: 425.1 kB / 4.123 GB, free: 29.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/10.41, allocations: 0.5229 MB / 4.124 GB, free: 29.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/10.41, allocations: 2.797 MB / 4.127 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/10.42, allocations: 195 kB / 4.127 GB, free: 27.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005141/10.42, allocations: 146.1 kB / 4.127 GB, free: 27.8 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001166/10.42, allocations: 229 kB / 4.127 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00527/10.42, allocations: 1.242 MB / 4.128 GB, free: 27.49 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006966/10.42, allocations: 152.1 kB / 4.128 GB, free: 27.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007975/10.43, allocations: 4.193 MB / 4.133 GB, free: 26.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.022e-05/10.43, allocations: 45.22 kB / 4.133 GB, free: 26.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/10.43, allocations: 0 / 4.133 GB, free: 26.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/10.43, allocations: 3.703 kB / 4.133 GB, free: 26.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/10.44, allocations: 6.139 MB / 4.139 GB, free: 26.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/10.44, allocations: 5.875 kB / 4.139 GB, free: 26.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/10.45, allocations: 233 kB / 4.139 GB, free: 26.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/10.45, allocations: 415.2 kB / 4.139 GB, free: 26.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/10.45, allocations: 10.02 kB / 4.139 GB, free: 26.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/10.45, allocations: 2.885 MB / 4.142 GB, free: 24.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.408e-05/10.45, allocations: 10.77 kB / 4.142 GB, free: 24.15 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007742/10.46, allocations: 3.62 MB / 4.146 GB, free: 23.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/10.46, allocations: 0.517 MB / 4.146 GB, free: 23.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009753/10.46, allocations: 5.906 kB / 4.146 GB, free: 23.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/10.46, allocations: 124.6 kB / 4.146 GB, free: 23.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/10.46, allocations: 106.4 kB / 4.146 GB, free: 23.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/10.47, allocations: 48.81 kB / 4.146 GB, free: 23.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002778/10.47, allocations: 0.9375 MB / 4.147 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/10.47, allocations: 3.469 kB / 4.147 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01052/10.48, allocations: 1.413 MB / 4.149 GB, free: 22.77 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02186/10.5, allocations: 7.235 MB / 4.156 GB, free: 20.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005882/10.51, allocations: 1.835 MB / 4.157 GB, free: 20.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/10.51, allocations: 0.625 kB / 4.157 GB, free: 20.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003124/10.51, allocations: 1.127 MB / 4.159 GB, free: 20.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005839/10.52, allocations: 0.577 MB / 4.159 GB, free: 20.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/10.54, allocations: 4.212 MB / 4.163 GB, free: 19.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/10.54, allocations: 1.659 MB / 4.165 GB, free: 18.36 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004354/10.54, allocations: 1.028 MB / 4.166 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/10.55, allocations: 0.8753 MB / 4.167 GB, free: 18.33 MB / 0.5573 GB Notification: Performance of SimCode: time 1.684e-06/10.55, allocations: 0 / 4.167 GB, free: 18.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.176/10.72, allocations: 72.14 MB / 4.237 GB, free: 260 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/10.72, allocations: 184 kB / 4.237 GB, free: 60 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.103/15.82, allocations: 7.969 kB / 4.237 GB, free: 52 kB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat