Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",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.001189/0.001189, allocations: 182.5 kB / 15.76 MB, free: 6.363 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.534/1.534, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.000852/0.0008519, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2124/0.2124, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 12 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 58.85 MB / 490.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.298/6.415, allocations: 2.771 GB / 3.25 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/6.415, allocations: 85.83 kB / 3.25 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7635/7.178, allocations: 234.6 MB / 3.479 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/7.178, allocations: 0 / 3.479 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.477e-05/7.178, allocations: 7.5 kB / 3.479 GB, free: 77.35 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006575/7.185, allocations: 1.328 MB / 3.48 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/7.185, allocations: 7.219 kB / 3.48 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/7.185, allocations: 76.88 kB / 3.48 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/7.188, allocations: 247.2 kB / 3.481 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/7.188, allocations: 418.3 kB / 3.481 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/7.189, allocations: 32.03 kB / 3.481 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/7.189, allocations: 27.81 kB / 3.481 GB, free: 76.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/7.19, allocations: 0.6189 MB / 3.482 GB, free: 75.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/7.19, allocations: 0 / 3.482 GB, free: 75.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/7.19, allocations: 19.89 kB / 3.482 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/7.19, allocations: 11.66 kB / 3.482 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/7.192, allocations: 0.5985 MB / 3.482 GB, free: 75.64 MB / 0.5105 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.003674/7.196, allocations: 2.62 MB / 3.485 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/7.197, allocations: 459.8 kB / 3.485 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04171/7.239, allocations: 24.08 MB / 3.509 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/7.239, allocations: 38.56 kB / 3.509 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.166e-06/7.239, allocations: 0 / 3.509 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002932/7.242, allocations: 0.8276 MB / 3.51 GB, free: 57.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/7.242, allocations: 106.8 kB / 3.51 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/7.243, allocations: 335 kB / 3.51 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/7.243, allocations: 33.3 kB / 3.51 GB, free: 57.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/7.243, allocations: 216.3 kB / 3.51 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/7.243, allocations: 87.48 kB / 3.51 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/7.243, allocations: 15.47 kB / 3.51 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001011/7.243, allocations: 349.5 kB / 3.511 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/7.243, allocations: 167.3 kB / 3.511 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/7.244, allocations: 261.8 kB / 3.511 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/7.244, allocations: 190.8 kB / 3.511 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/7.244, allocations: 3.938 kB / 3.511 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001023/7.245, allocations: 489 kB / 3.512 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002715/7.246, allocations: 1.049 MB / 3.513 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/7.246, allocations: 7.312 kB / 3.513 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/7.246, allocations: 3.844 kB / 3.513 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/7.246, allocations: 111.7 kB / 3.513 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/7.246, allocations: 7.875 kB / 3.513 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/7.247, allocations: 78.12 kB / 3.513 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/7.247, allocations: 23.45 kB / 3.513 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/7.247, allocations: 3.875 kB / 3.513 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009151/7.248, allocations: 419 kB / 3.513 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/7.248, allocations: 3.875 kB / 3.513 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/7.248, allocations: 7.812 kB / 3.514 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/7.248, allocations: 109.6 kB / 3.514 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/7.248, allocations: 7.438 kB / 3.514 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/7.248, allocations: 67.73 kB / 3.514 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/7.248, allocations: 21.91 kB / 3.514 GB, free: 55.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002228/7.249, allocations: 234.8 kB / 3.514 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/7.249, allocations: 48.55 kB / 3.514 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/7.251, allocations: 1.978 MB / 3.516 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/7.251, allocations: 33.12 kB / 3.516 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/7.251, allocations: 3.938 kB / 3.516 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/7.251, allocations: 3.609 kB / 3.516 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000981/7.252, allocations: 1.046 MB / 3.517 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/7.252, allocations: 0 / 3.517 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/7.252, allocations: 84.34 kB / 3.517 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/7.252, allocations: 7.328 kB / 3.517 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/7.253, allocations: 11.28 kB / 3.517 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/7.253, allocations: 0 / 3.517 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/7.253, allocations: 0 / 3.517 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/7.254, allocations: 1.13 MB / 3.518 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/7.254, allocations: 262.7 kB / 3.518 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/7.254, allocations: 9.766 kB / 3.518 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/7.255, allocations: 48.09 kB / 3.518 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/7.255, allocations: 32.8 kB / 3.519 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/7.255, allocations: 15.5 kB / 3.519 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003836/7.255, allocations: 371.6 kB / 3.519 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/7.255, allocations: 0 / 3.519 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00509/7.26, allocations: 1.192 MB / 3.52 GB, free: 52.05 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * 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.009379/7.27, allocations: 3.051 MB / 3.523 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001719/7.271, allocations: 0.8584 MB / 3.524 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/7.271, allocations: 0 / 3.524 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006208/7.272, allocations: 0.535 MB / 3.524 GB, free: 50.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/7.273, allocations: 205.5 kB / 3.525 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/7.279, allocations: 4.455 MB / 3.529 GB, free: 46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/7.28, allocations: 1 MB / 3.53 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008502/7.281, allocations: 0.5393 MB / 3.53 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/7.281, allocations: 274 kB / 3.531 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/7.281, allocations: 3.938 kB / 3.531 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06703/7.348, allocations: 41.11 MB / 3.571 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/7.348, allocations: 221.2 kB / 3.571 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/10.73, allocations: 3.938 kB / 3.571 GB, free: 8.594 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat