Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.001888/0.001888, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008797/0.0008797, allocations: 89.14 kB / 267 MB, free: 9.281 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.407/0.407, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.95e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.271/7.411, allocations: 2.754 GB / 3.227 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/7.412, allocations: 79.89 kB / 3.227 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.827/8.239, allocations: 216.7 MB / 3.439 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.916e-06/8.239, allocations: 0 / 3.439 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.124e-05/8.239, allocations: 6.906 kB / 3.439 GB, free: 75.57 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.007265/8.246, allocations: 1.186 MB / 3.44 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.658e-05/8.246, allocations: 9.938 kB / 3.44 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/8.246, allocations: 71.09 kB / 3.44 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/8.248, allocations: 217.5 kB / 3.44 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/8.249, allocations: 372.1 kB / 3.44 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/8.249, allocations: 30.06 kB / 3.44 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/8.249, allocations: 28.06 kB / 3.44 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/8.251, allocations: 0.5814 MB / 3.441 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/8.251, allocations: 7.875 kB / 3.441 GB, free: 74.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/8.251, allocations: 13.53 kB / 3.441 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/8.251, allocations: 11.27 kB / 3.441 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/8.252, allocations: 0.4918 MB / 3.442 GB, free: 74.06 MB / 0.5105 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.003272/8.256, allocations: 2.603 MB / 3.444 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/8.257, allocations: 421.6 kB / 3.444 GB, free: 71.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/8.257, allocations: 133.9 kB / 3.445 GB, free: 71.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04796/8.305, allocations: 24.17 MB / 3.468 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/8.305, allocations: 30.56 kB / 3.468 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 4.208e-06/8.305, allocations: 2.656 kB / 3.468 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002536/8.308, allocations: 0.6272 MB / 3.469 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/8.308, allocations: 106.8 kB / 3.469 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/8.308, allocations: 278 kB / 3.469 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/8.309, allocations: 25.7 kB / 3.469 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/8.309, allocations: 213.3 kB / 3.469 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/8.309, allocations: 78.5 kB / 3.47 GB, free: 55.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/8.309, allocations: 7.969 kB / 3.47 GB, free: 55.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001388/8.309, allocations: 342.2 kB / 3.47 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/8.309, allocations: 94.77 kB / 3.47 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/8.309, allocations: 179.8 kB / 3.47 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/8.31, allocations: 108.1 kB / 3.47 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/8.31, allocations: 0 / 3.47 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006149/8.31, allocations: 336.1 kB / 3.471 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/8.31, allocations: 8.312 kB / 3.471 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/8.31, allocations: 0 / 3.471 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/8.31, allocations: 7.594 kB / 3.471 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/8.311, allocations: 107 kB / 3.471 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/8.311, allocations: 3.906 kB / 3.471 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/8.311, allocations: 64.33 kB / 3.471 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/8.311, allocations: 19.39 kB / 3.471 GB, free: 55.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 prepare postOptimizeDAE: time 0.0001229/8.311, allocations: 125.6 kB / 3.471 GB, free: 54.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/8.312, allocations: 38.42 kB / 3.471 GB, free: 54.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/8.314, allocations: 1.862 MB / 3.473 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/8.314, allocations: 30.5 kB / 3.473 GB, free: 54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/8.314, allocations: 0 / 3.473 GB, free: 54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/8.314, allocations: 2.531 kB / 3.473 GB, free: 54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/8.315, allocations: 0.9964 MB / 3.474 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/8.315, allocations: 0 / 3.474 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/8.315, allocations: 93.64 kB / 3.474 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/8.315, allocations: 3.969 kB / 3.474 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/8.315, allocations: 14.95 kB / 3.474 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/8.316, allocations: 0 / 3.474 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/8.316, allocations: 7.25 kB / 3.474 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/8.317, allocations: 0.9713 MB / 3.475 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/8.317, allocations: 223.9 kB / 3.475 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/8.317, allocations: 4 kB / 3.475 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/8.318, allocations: 60.7 kB / 3.475 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/8.318, allocations: 33.09 kB / 3.475 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/8.318, allocations: 13.66 kB / 3.475 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004178/8.318, allocations: 318.5 kB / 3.475 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/8.318, allocations: 0 / 3.475 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0061/8.324, allocations: 1.01 MB / 3.476 GB, free: 52.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01164/8.336, allocations: 2.807 MB / 3.479 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00107/8.337, allocations: 0.495 MB / 3.48 GB, free: 50.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/8.337, allocations: 0 / 3.48 GB, free: 50.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006356/8.338, allocations: 479.2 kB / 3.48 GB, free: 50.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/8.339, allocations: 200.7 kB / 3.48 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/8.346, allocations: 1.589 MB / 3.482 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/8.347, allocations: 0.9825 MB / 3.483 GB, free: 49.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007738/8.348, allocations: 240.6 kB / 3.483 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/8.348, allocations: 259 kB / 3.483 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.454e-06/8.348, allocations: 0 / 3.483 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08675/8.435, allocations: 41.08 MB / 3.523 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/8.435, allocations: 206.5 kB / 3.524 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/11.88, allocations: 0 / 3.524 GB, free: 40.13 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat