Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001602, allocations: 186 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.001209, allocations: 97.25 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.531/0.531, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004944, allocations: 16 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.339, allocations: 351.5 MB / 0.8221 GB, free: 20.49 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.34, allocations: 90.86 kB / 0.8222 GB, free: 20.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.827/3.167, allocations: 306.8 MB / 1.122 GB, free: 67.68 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.936e-06/3.167, allocations: 0 / 1.122 GB, free: 67.68 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002234/3.167, allocations: 44.31 kB / 1.122 GB, free: 67.67 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01069/3.178, allocations: 2.286 MB / 1.124 GB, free: 66.45 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/3.178, allocations: 13.41 kB / 1.124 GB, free: 66.45 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/3.179, allocations: 186.7 kB / 1.124 GB, free: 66.41 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/3.18, allocations: 199.5 kB / 1.124 GB, free: 66.32 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005045/3.185, allocations: 1.274 MB / 1.126 GB, free: 65.95 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/3.186, allocations: 186.5 kB / 1.126 GB, free: 65.84 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000535/3.186, allocations: 113.9 kB / 1.126 GB, free: 65.84 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005446/3.192, allocations: 1.956 MB / 1.128 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-05/3.192, allocations: 7.625 kB / 1.128 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/3.192, allocations: 49.75 kB / 1.128 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/3.192, allocations: 117.4 kB / 1.128 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00527/3.198, allocations: 1.953 MB / 1.13 GB, free: 65.59 MB / 0.4949 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.01975/3.217, allocations: 6.992 MB / 1.137 GB, free: 63.32 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/3.221, allocations: 1.359 MB / 1.138 GB, free: 63.28 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/3.231, allocations: 4.437 MB / 1.142 GB, free: 60.91 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/3.231, allocations: 56.22 kB / 1.142 GB, free: 60.88 MB / 0.4949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001755/3.233, allocations: 228.2 kB / 1.143 GB, free: 60.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=117): time 5.189e-06/3.233, allocations: 0 / 1.143 GB, free: 60.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=132): time 0.03387/3.267, allocations: 6.378 MB / 1.149 GB, free: 60.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/3.267, allocations: 222.1 kB / 1.149 GB, free: 59.84 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/3.27, allocations: 1.201 MB / 1.15 GB, free: 59.68 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004589/3.27, allocations: 52.89 kB / 1.15 GB, free: 59.65 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/3.271, allocations: 0.6198 MB / 1.151 GB, free: 59.34 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/3.271, allocations: 456.1 kB / 1.151 GB, free: 59.05 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/3.272, allocations: 30.31 kB / 1.151 GB, free: 59.05 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001232/3.272, allocations: 375.9 kB / 1.152 GB, free: 58.74 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/3.274, allocations: 0.7613 MB / 1.153 GB, free: 58.73 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/3.276, allocations: 1.098 MB / 1.154 GB, free: 58.19 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/3.279, allocations: 0.8793 MB / 1.154 GB, free: 57.84 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/3.279, allocations: 3.969 kB / 1.154 GB, free: 57.84 MB / 0.4949 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007035/3.286, allocations: 2.348 MB / 1.157 GB, free: 56.98 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006897/3.287, allocations: 2.971 MB / 1.16 GB, free: 53.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.93e-05/3.287, allocations: 7.688 kB / 1.16 GB, free: 53.84 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01369/3.3, allocations: 1.493 MB / 1.161 GB, free: 53.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/3.303, allocations: 335.8 kB / 1.161 GB, free: 53.65 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/3.308, allocations: 1.708 MB / 1.163 GB, free: 52.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/3.311, allocations: 104.8 kB / 1.163 GB, free: 52.66 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/3.311, allocations: 81.88 kB / 1.163 GB, free: 52.64 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/3.311, allocations: 3.875 kB / 1.163 GB, free: 52.64 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007569/3.319, allocations: 2.133 MB / 1.165 GB, free: 51.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-05/3.319, allocations: 9.719 kB / 1.165 GB, free: 51.89 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009942/3.329, allocations: 1.011 MB / 1.166 GB, free: 51.76 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/3.332, allocations: 343.8 kB / 1.167 GB, free: 51.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/3.335, allocations: 1.393 MB / 1.168 GB, free: 50.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/3.337, allocations: 98.08 kB / 1.168 GB, free: 50.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/3.338, allocations: 74.78 kB / 1.168 GB, free: 50.89 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.001391/3.339, allocations: 491.2 kB / 1.169 GB, free: 50.57 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005788/3.34, allocations: 167.8 kB / 1.169 GB, free: 50.48 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008007/3.348, allocations: 2.527 MB / 1.171 GB, free: 49.54 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/3.348, allocations: 18.14 kB / 1.171 GB, free: 49.54 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/3.348, allocations: 0 / 1.171 GB, free: 49.54 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/3.348, allocations: 9.203 kB / 1.171 GB, free: 49.54 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/3.358, allocations: 4.082 MB / 1.175 GB, free: 47.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/3.358, allocations: 3.75 kB / 1.175 GB, free: 47.84 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/3.361, allocations: 227.3 kB / 1.176 GB, free: 47.83 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008311/3.369, allocations: 1.247 MB / 1.177 GB, free: 47.64 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004212/3.369, allocations: 44.39 kB / 1.177 GB, free: 47.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003807/3.373, allocations: 1.756 MB / 1.179 GB, free: 46.64 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/3.373, allocations: 0 / 1.179 GB, free: 46.64 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008977/3.382, allocations: 3.357 MB / 1.182 GB, free: 45.24 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/3.384, allocations: 463.4 kB / 1.182 GB, free: 44.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/3.384, allocations: 27.34 kB / 1.182 GB, free: 44.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/3.386, allocations: 106.9 kB / 1.182 GB, free: 44.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/3.387, allocations: 112.5 kB / 1.183 GB, free: 44.89 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/3.387, allocations: 63.14 kB / 1.183 GB, free: 44.88 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001861/3.389, allocations: 0.9115 MB / 1.183 GB, free: 44.52 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.303e-06/3.389, allocations: 0 / 1.183 GB, free: 44.52 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005825/3.395, allocations: 1.442 MB / 1.185 GB, free: 44.15 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01252/3.407, allocations: 5.049 MB / 1.19 GB, free: 41.89 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01138/3.419, allocations: 3.119 MB / 1.193 GB, free: 39.98 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/3.419, allocations: 3.859 kB / 1.193 GB, free: 39.98 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003566/3.422, allocations: 1.018 MB / 1.194 GB, free: 39.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005992/3.428, allocations: 0.6937 MB / 1.195 GB, free: 38.62 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/3.445, allocations: 10.63 MB / 1.205 GB, free: 28.45 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/3.446, allocations: 1.402 MB / 1.206 GB, free: 27.27 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/3.448, allocations: 0.6561 MB / 1.207 GB, free: 26.68 MB / 0.4949 GB Notification: Performance of SimCode: time 1.523e-06/3.448, allocations: 0 / 1.207 GB, free: 26.68 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.253/7.701, allocations: 47.9 MB / 1.254 GB, free: 75.01 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat