Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008954/0.0008956, allocations: 86.75 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1861/0.1861, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.809e-05, allocations: 7.984 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 63.25 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.31/6.416, allocations: 2.807 GB / 3.318 GB, free: 151.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/6.417, allocations: 86.84 kB / 3.318 GB, free: 151.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7788/7.195, allocations: 239.5 MB / 3.552 GB, free: 99.17 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.342e-06/7.195, allocations: 0 / 3.552 GB, free: 99.17 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.796e-05/7.196, allocations: 9.156 kB / 3.552 GB, free: 99.17 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.005275/7.201, allocations: 1.321 MB / 3.553 GB, free: 98.51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/7.201, allocations: 7.906 kB / 3.553 GB, free: 98.51 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.548e-05/7.201, allocations: 75.77 kB / 3.553 GB, free: 98.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/7.203, allocations: 259.3 kB / 3.554 GB, free: 98.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/7.204, allocations: 416 kB / 3.554 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/7.204, allocations: 29.56 kB / 3.554 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/7.204, allocations: 28.66 kB / 3.554 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/7.205, allocations: 0.6299 MB / 3.555 GB, free: 98.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/7.205, allocations: 6.469 kB / 3.555 GB, free: 98.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/7.205, allocations: 20.38 kB / 3.555 GB, free: 98.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/7.205, allocations: 11.62 kB / 3.555 GB, free: 98.09 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/7.206, allocations: 0.5311 MB / 3.555 GB, free: 98.08 MB / 0.5417 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.00295/7.209, allocations: 2.835 MB / 3.558 GB, free: 96.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/7.21, allocations: 462.5 kB / 3.558 GB, free: 96.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/7.21, allocations: 139.2 kB / 3.559 GB, free: 96.06 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0433/7.254, allocations: 26.83 MB / 3.585 GB, free: 78.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/7.254, allocations: 37.56 kB / 3.585 GB, free: 78.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 2.114e-06/7.254, allocations: 0 / 3.585 GB, free: 78.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.002157/7.256, allocations: 0.6601 MB / 3.585 GB, free: 78.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/7.256, allocations: 106.6 kB / 3.586 GB, free: 78.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/7.257, allocations: 330 kB / 3.586 GB, free: 78.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/7.257, allocations: 29.45 kB / 3.586 GB, free: 78.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/7.257, allocations: 226.3 kB / 3.586 GB, free: 78.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-05/7.257, allocations: 97.28 kB / 3.586 GB, free: 78.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/7.257, allocations: 7.75 kB / 3.586 GB, free: 78.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/7.257, allocations: 349.8 kB / 3.587 GB, free: 77.85 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/7.257, allocations: 98.69 kB / 3.587 GB, free: 77.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/7.257, allocations: 211.9 kB / 3.587 GB, free: 77.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/7.258, allocations: 126 kB / 3.587 GB, free: 77.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/7.258, allocations: 0 / 3.587 GB, free: 77.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006078/7.258, allocations: 369.5 kB / 3.587 GB, free: 77.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/7.258, allocations: 1.05 MB / 3.588 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/7.258, allocations: 5.078 kB / 3.588 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/7.258, allocations: 12.03 kB / 3.588 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/7.259, allocations: 107.6 kB / 3.588 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/7.259, allocations: 3.656 kB / 3.588 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/7.26, allocations: 90.31 kB / 3.589 GB, free: 76.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/7.26, allocations: 23.42 kB / 3.589 GB, free: 76.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/7.26, allocations: 6.891 kB / 3.589 GB, free: 76.57 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000466/7.26, allocations: 308.6 kB / 3.589 GB, free: 76.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/7.26, allocations: 0 / 3.589 GB, free: 76.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/7.26, allocations: 7.703 kB / 3.589 GB, free: 76.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/7.261, allocations: 110.7 kB / 3.589 GB, free: 76.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/7.261, allocations: 7.344 kB / 3.589 GB, free: 76.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/7.261, allocations: 85.55 kB / 3.589 GB, free: 76.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/7.261, allocations: 20.77 kB / 3.589 GB, free: 76.55 MB / 0.5417 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 (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 (39): * Single equations (assignments): 39 * 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.0001162/7.261, allocations: 129.3 kB / 3.589 GB, free: 76.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/7.261, allocations: 40.19 kB / 3.589 GB, free: 76.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/7.263, allocations: 1.902 MB / 3.591 GB, free: 76.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/7.263, allocations: 35 kB / 3.591 GB, free: 76.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/7.263, allocations: 0 / 3.591 GB, free: 76.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/7.263, allocations: 3.172 kB / 3.591 GB, free: 76.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/7.264, allocations: 1.046 MB / 3.592 GB, free: 75.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/7.264, allocations: 3.656 kB / 3.592 GB, free: 75.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/7.265, allocations: 101 kB / 3.592 GB, free: 75.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/7.265, allocations: 0 / 3.592 GB, free: 75.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/7.265, allocations: 9.656 kB / 3.592 GB, free: 75.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/7.265, allocations: 3.75 kB / 3.592 GB, free: 75.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/7.265, allocations: 0 / 3.592 GB, free: 75.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/7.266, allocations: 1.032 MB / 3.593 GB, free: 75.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/7.266, allocations: 263.7 kB / 3.594 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/7.266, allocations: 7.812 kB / 3.594 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/7.266, allocations: 59.45 kB / 3.594 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/7.267, allocations: 34.39 kB / 3.594 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/7.267, allocations: 11.09 kB / 3.594 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003335/7.267, allocations: 360 kB / 3.594 GB, free: 75.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.42e-07/7.267, allocations: 3.938 kB / 3.594 GB, free: 75.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004497/7.271, allocations: 1.18 MB / 3.595 GB, free: 75.22 MB / 0.5417 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete 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.00867/7.28, allocations: 2.915 MB / 3.598 GB, free: 74.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001433/7.282, allocations: 0.7033 MB / 3.599 GB, free: 73.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/7.282, allocations: 7.594 kB / 3.599 GB, free: 73.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/7.282, allocations: 498.5 kB / 3.599 GB, free: 73.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/7.284, allocations: 214.8 kB / 3.599 GB, free: 73.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/7.291, allocations: 1.701 MB / 3.601 GB, free: 72.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/7.292, allocations: 0.9983 MB / 3.602 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009223/7.293, allocations: 0.557 MB / 3.603 GB, free: 72.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/7.293, allocations: 271.5 kB / 3.603 GB, free: 71.88 MB / 0.5417 GB Notification: Performance of SimCode: time 1.203e-06/7.293, allocations: 3.531 kB / 3.603 GB, free: 71.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06718/7.36, allocations: 43.75 MB / 3.646 GB, free: 67.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/7.36, allocations: 208.2 kB / 3.646 GB, free: 67.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/10.39, allocations: 0 / 3.646 GB, free: 67.73 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat