Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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) 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(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork",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.001457/0.001457, allocations: 185.2 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.032/2.032, 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.001242/0.001242, allocations: 99.33 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 12 kB / 327.1 MB, free: 148 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3463, allocations: 47.56 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7037/1.05, allocations: 280.6 MB / 0.6399 GB, free: 8.688 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.05, allocations: 81.66 kB / 0.64 GB, free: 8.648 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.14/11.19, allocations: 1.682 GB / 2.322 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.434e-06/11.19, allocations: 0 / 2.322 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001149/11.19, allocations: 195.9 kB / 2.322 GB, free: 24.93 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.05892/11.25, allocations: 11.33 MB / 2.333 GB, free: 20.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/11.25, allocations: 7.906 kB / 2.333 GB, free: 20.17 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005606/11.25, allocations: 0.7931 MB / 2.334 GB, free: 20.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/11.27, allocations: 1.284 MB / 2.335 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03118/11.3, allocations: 6.348 MB / 2.341 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009931/11.3, allocations: 422.8 kB / 2.342 GB, free: 18.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003763/11.31, allocations: 0.5364 MB / 2.342 GB, free: 18.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03908/11.35, allocations: 9.453 MB / 2.352 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004508/11.35, allocations: 21 kB / 2.352 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003896/11.35, allocations: 252.8 kB / 2.352 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/11.35, allocations: 0.5907 MB / 2.352 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03201/11.38, allocations: 8.126 MB / 2.36 GB, free: 17.15 MB / 0.5261 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.09694/11.48, allocations: 34.94 MB / 2.394 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/11.5, allocations: 6.177 MB / 2.4 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/11.51, allocations: 4.762 MB / 2.405 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/11.51, allocations: 97.39 kB / 2.405 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01337/11.53, allocations: 1.678 MB / 2.407 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 3.928e-05/11.53, allocations: 0 / 2.407 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.3236/11.85, allocations: 50.81 MB / 2.456 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/11.85, allocations: 167.9 kB / 2.457 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01295/11.86, allocations: 4.253 MB / 2.461 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002649/11.87, allocations: 142.1 kB / 2.461 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004292/11.87, allocations: 2.628 MB / 2.463 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005224/11.87, allocations: 2.165 MB / 2.466 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002517/11.88, allocations: 142.9 kB / 2.466 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0009206/11.88, allocations: 0.591 MB / 2.466 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01334/11.89, allocations: 3.926 MB / 2.47 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01619/11.91, allocations: 5.569 MB / 2.476 GB, free: 14.19 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/11.92, allocations: 4.855 MB / 2.48 GB, free: 12.24 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.407e-05/11.92, allocations: 10.62 kB / 2.48 GB, free: 12.24 MB / 0.5574 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.04782/11.97, allocations: 12.1 MB / 2.492 GB, free: 4.824 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.008757/11.98, allocations: 16.82 MB / 2.509 GB, free: 2.715 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/11.98, allocations: 47.95 kB / 2.509 GB, free: 2.668 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5894/12.57, allocations: 5.268 MB / 2.514 GB, free: 63.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/12.58, allocations: 1.356 MB / 2.515 GB, free: 63.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/12.6, allocations: 17.42 MB / 2.532 GB, free: 51.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/12.61, allocations: 0.502 MB / 2.533 GB, free: 51.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002931/12.62, allocations: 415.6 kB / 2.533 GB, free: 51.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/12.62, allocations: 4.406 kB / 2.533 GB, free: 51.33 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04552/12.66, allocations: 11.96 MB / 2.545 GB, free: 50.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/12.66, allocations: 42.66 kB / 2.545 GB, free: 50.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0171/12.68, allocations: 2.982 MB / 2.548 GB, free: 50.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01174/12.69, allocations: 1.38 MB / 2.549 GB, free: 50.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03267/12.73, allocations: 22.11 MB / 2.571 GB, free: 38.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01027/12.74, allocations: 489.7 kB / 2.571 GB, free: 38.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003001/12.74, allocations: 409.8 kB / 2.571 GB, free: 38.02 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 728 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.009303/12.75, allocations: 1.92 MB / 2.573 GB, free: 37.83 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00376/12.75, allocations: 0.6476 MB / 2.574 GB, free: 37.83 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05405/12.81, allocations: 13.5 MB / 2.587 GB, free: 37.32 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001508/12.81, allocations: 63.38 kB / 2.587 GB, free: 37.32 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.565e-05/12.81, allocations: 3.953 kB / 2.587 GB, free: 37.32 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03528/12.84, allocations: 9.654 MB / 2.597 GB, free: 36.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08388/12.93, allocations: 24.83 MB / 2.621 GB, free: 34.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.795e-05/12.93, allocations: 13.22 kB / 2.621 GB, free: 34.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007909/12.93, allocations: 0.8668 MB / 2.622 GB, free: 34.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04744/12.98, allocations: 5.52 MB / 2.627 GB, free: 34.08 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002059/12.98, allocations: 235 kB / 2.627 GB, free: 34.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/13, allocations: 17.39 MB / 2.644 GB, free: 21.78 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.376e-05/13, allocations: 22.53 kB / 2.644 GB, free: 21.78 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05035/13.05, allocations: 19.21 MB / 2.663 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007505/13.06, allocations: 1.731 MB / 2.665 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003217/13.06, allocations: 166.6 kB / 2.665 GB, free: 10.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01022/13.07, allocations: 337.5 kB / 2.665 GB, free: 10.84 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002346/13.08, allocations: 460.4 kB / 2.666 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001438/13.08, allocations: 330.3 kB / 2.666 GB, free: 10.72 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.008448/13.09, allocations: 3.194 MB / 2.669 GB, free: 9.668 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.71e-07/13.09, allocations: 6.344 kB / 2.669 GB, free: 9.668 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0323/13.12, allocations: 5.97 MB / 2.675 GB, free: 9.164 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.07132/13.19, allocations: 26.6 MB / 2.701 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.05391/13.24, allocations: 15.62 MB / 2.716 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-05/13.24, allocations: 5.75 kB / 2.716 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.03206/13.28, allocations: 5.688 MB / 2.722 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02422/13.3, allocations: 2.624 MB / 2.724 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6009/13.9, allocations: 57.04 MB / 2.78 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/13.91, allocations: 4.435 MB / 2.784 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01026/13.92, allocations: 3.253 MB / 2.788 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/13.92, allocations: 0 / 2.788 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.6/24.52, allocations: 0.7639 GB / 3.551 GB, free: 60.39 MB / 0.6199 GB (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat