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.002199/0.002199, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 90.14 kB / 261.7 MB, free: 1.68 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.2589/0.2589, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.52e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1512, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.261/7.412, allocations: 2.77 GB / 3.236 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/7.413, allocations: 88.38 kB / 3.236 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8113/8.224, allocations: 231.1 MB / 3.462 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.819e-06/8.224, allocations: 6.641 kB / 3.462 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.197e-05/8.224, allocations: 11.34 kB / 3.462 GB, free: 89.75 MB / 0.4948 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.00649/8.23, allocations: 1.27 MB / 3.463 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/8.231, allocations: 12.94 kB / 3.463 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/8.233, allocations: 246.6 kB / 3.463 GB, free: 89.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008293/8.234, allocations: 420 kB / 3.464 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/8.234, allocations: 14.06 kB / 3.464 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/8.234, allocations: 19.66 kB / 3.464 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005909/8.234, allocations: 337.3 kB / 3.464 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/8.235, allocations: 409.7 kB / 3.465 GB, free: 88.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/8.235, allocations: 3.953 kB / 3.465 GB, free: 88.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/8.235, allocations: 0 / 3.465 GB, free: 88.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/8.235, allocations: 7.875 kB / 3.465 GB, free: 88.7 MB / 0.4948 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.0204/8.256, allocations: 10.14 MB / 3.475 GB, free: 82.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/8.256, allocations: 243.3 kB / 3.475 GB, free: 82.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/8.256, allocations: 129.3 kB / 3.475 GB, free: 82.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04293/8.299, allocations: 24.15 MB / 3.498 GB, free: 67.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/8.299, allocations: 38.22 kB / 3.499 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=24): time 3.346e-06/8.299, allocations: 0 / 3.499 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.002092/8.301, allocations: 0.5552 MB / 3.499 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/8.301, allocations: 114.7 kB / 3.499 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/8.302, allocations: 270.9 kB / 3.499 GB, free: 67.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/8.302, allocations: 28.44 kB / 3.499 GB, free: 67.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/8.302, allocations: 231.2 kB / 3.5 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/8.302, allocations: 75.2 kB / 3.5 GB, free: 67.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/8.302, allocations: 0 / 3.5 GB, free: 67.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/8.302, allocations: 351.2 kB / 3.5 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/8.302, allocations: 96.17 kB / 3.5 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/8.302, allocations: 200 kB / 3.5 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/8.303, allocations: 213.1 kB / 3.501 GB, free: 66.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/8.303, allocations: 0 / 3.501 GB, free: 66.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001149/8.304, allocations: 449.6 kB / 3.501 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003016/8.305, allocations: 1.044 MB / 3.502 GB, free: 65.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/8.305, allocations: 7.594 kB / 3.502 GB, free: 65.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/8.305, allocations: 3.75 kB / 3.502 GB, free: 65.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/8.305, allocations: 117 kB / 3.502 GB, free: 65.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/8.305, allocations: 7.828 kB / 3.502 GB, free: 65.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/8.306, allocations: 65.02 kB / 3.502 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/8.306, allocations: 17.78 kB / 3.502 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/8.306, allocations: 7.375 kB / 3.502 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000976/8.307, allocations: 347 kB / 3.503 GB, free: 65.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/8.307, allocations: 3.656 kB / 3.503 GB, free: 65.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/8.307, allocations: 3.875 kB / 3.503 GB, free: 65.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/8.307, allocations: 114.2 kB / 3.503 GB, free: 65.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/8.307, allocations: 3.312 kB / 3.503 GB, free: 65.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/8.308, allocations: 62.69 kB / 3.503 GB, free: 65.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/8.308, allocations: 11.38 kB / 3.503 GB, free: 65.54 MB / 0.4948 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 () * 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.0001832/8.308, allocations: 119.8 kB / 3.503 GB, free: 65.42 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001043/8.309, allocations: 348.3 kB / 3.503 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/8.309, allocations: 38.83 kB / 3.503 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/8.311, allocations: 1.699 MB / 3.505 GB, free: 65.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/8.311, allocations: 27.41 kB / 3.505 GB, free: 65.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/8.311, allocations: 0 / 3.505 GB, free: 65.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/8.311, allocations: 0 / 3.505 GB, free: 65.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/8.312, allocations: 0.879 MB / 3.506 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/8.312, allocations: 7.5 kB / 3.506 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/8.313, allocations: 89.31 kB / 3.506 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/8.313, allocations: 3.953 kB / 3.506 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/8.313, allocations: 6.156 kB / 3.506 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/8.313, allocations: 3.938 kB / 3.506 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/8.313, allocations: 0 / 3.506 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/8.314, allocations: 0.9783 MB / 3.507 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/8.314, allocations: 251.6 kB / 3.507 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/8.314, allocations: 3.953 kB / 3.507 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/8.315, allocations: 49.34 kB / 3.507 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/8.315, allocations: 30.25 kB / 3.507 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/8.315, allocations: 14.69 kB / 3.507 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000327/8.315, allocations: 313.6 kB / 3.507 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.315, allocations: 0 / 3.507 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006446/8.322, allocations: 1.163 MB / 3.509 GB, free: 64.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01042/8.332, allocations: 2.961 MB / 3.512 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001164/8.333, allocations: 0.6571 MB / 3.512 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/8.333, allocations: 0 / 3.512 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/8.334, allocations: 435.9 kB / 3.513 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/8.335, allocations: 183.3 kB / 3.513 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/8.341, allocations: 1.575 MB / 3.514 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/8.341, allocations: 0.98 MB / 3.515 GB, free: 62.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008817/8.342, allocations: 0.5575 MB / 3.516 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/8.342, allocations: 258.5 kB / 3.516 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/8.342, allocations: 0 / 3.516 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07276/8.415, allocations: 37.49 MB / 3.553 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/8.415, allocations: 189.6 kB / 3.553 GB, free: 48.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/11.85, allocations: 3.938 kB / 3.553 GB, free: 48.33 MB / 0.4948 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