Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 179.6 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 80.03 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 4 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2641, allocations: 50.41 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.518/0.7821, allocations: 276.4 MB / 0.6621 GB, free: 15.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.7825, allocations: 79.34 kB / 0.6621 GB, free: 14.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7/7.783, allocations: 1.523 GB / 2.185 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/7.783, allocations: 2.188 kB / 2.185 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001687/7.784, allocations: 194.2 kB / 2.185 GB, free: 27.85 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.05055/7.835, allocations: 9.032 MB / 2.194 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/7.835, allocations: 10.19 kB / 2.194 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00675/7.842, allocations: 0.7904 MB / 2.195 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/7.856, allocations: 1.287 MB / 2.196 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02798/7.884, allocations: 6.33 MB / 2.202 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009992/7.885, allocations: 426.1 kB / 2.202 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00439/7.89, allocations: 0.5365 MB / 2.203 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03639/7.926, allocations: 9.455 MB / 2.212 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005914/7.927, allocations: 23.22 kB / 2.212 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004761/7.932, allocations: 244.7 kB / 2.212 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00132/7.933, allocations: 0.5902 MB / 2.213 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02789/7.961, allocations: 8.127 MB / 2.221 GB, free: 21.45 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.09626/8.057, allocations: 34.97 MB / 2.255 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/8.074, allocations: 6.158 MB / 2.261 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007751/8.082, allocations: 5.165 MB / 2.266 GB, free: 16.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/8.083, allocations: 103.6 kB / 2.266 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01177/8.094, allocations: 1.683 MB / 2.268 GB, free: 16.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 5.902e-05/8.094, allocations: 0 / 2.268 GB, free: 16.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.2011/8.296, allocations: 50.77 MB / 2.318 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/8.296, allocations: 170.9 kB / 2.318 GB, free: 13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/8.309, allocations: 4.25 MB / 2.322 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002911/8.312, allocations: 145.3 kB / 2.322 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004418/8.316, allocations: 2.971 MB / 2.325 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005324/8.321, allocations: 2.155 MB / 2.327 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002848/8.324, allocations: 144.7 kB / 2.327 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001174/8.326, allocations: 0.587 MB / 2.328 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01031/8.336, allocations: 3.918 MB / 2.332 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/8.348, allocations: 5.547 MB / 2.337 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/8.36, allocations: 4.853 MB / 2.342 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.688e-05/8.361, allocations: 10.72 kB / 2.342 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.04306/8.404, allocations: 12.7 MB / 2.354 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.01026/8.414, allocations: 20.34 MB / 2.374 GB, free: 6.172 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/8.414, allocations: 45.22 kB / 2.374 GB, free: 6.129 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0344/8.449, allocations: 5.239 MB / 2.379 GB, free: 2.281 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008318/8.457, allocations: 1.352 MB / 2.38 GB, free: 1.203 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6254/9.082, allocations: 17.41 MB / 2.397 GB, free: 53.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/9.094, allocations: 0.5029 MB / 2.398 GB, free: 53.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003095/9.097, allocations: 415 kB / 2.398 GB, free: 53.81 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/9.097, allocations: 3.406 kB / 2.398 GB, free: 53.81 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02837/9.125, allocations: 11.94 MB / 2.41 GB, free: 53.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/9.126, allocations: 40.88 kB / 2.41 GB, free: 53.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/9.136, allocations: 3.288 MB / 2.413 GB, free: 53.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008628/9.145, allocations: 1.378 MB / 2.415 GB, free: 53.22 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02374/9.169, allocations: 22.18 MB / 2.436 GB, free: 40.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/9.179, allocations: 0.4896 MB / 2.437 GB, free: 40.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003306/9.182, allocations: 404.6 kB / 2.437 GB, free: 40.5 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.009914/9.192, allocations: 1.924 MB / 2.439 GB, free: 40.31 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004261/9.197, allocations: 0.6477 MB / 2.44 GB, free: 40.31 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04868/9.245, allocations: 18.47 MB / 2.458 GB, free: 39.79 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000155/9.245, allocations: 64.62 kB / 2.458 GB, free: 39.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-05/9.246, allocations: 8.812 kB / 2.458 GB, free: 39.79 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02851/9.274, allocations: 9.657 MB / 2.467 GB, free: 39.16 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07864/9.353, allocations: 24.69 MB / 2.491 GB, free: 36.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001581/9.353, allocations: 13.19 kB / 2.491 GB, free: 36.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005299/9.358, allocations: 0.8621 MB / 2.492 GB, free: 36.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03048/9.389, allocations: 5.479 MB / 2.497 GB, free: 36.57 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003467/9.392, allocations: 222 kB / 2.498 GB, free: 36.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/9.411, allocations: 17.4 MB / 2.515 GB, free: 24.57 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-05/9.411, allocations: 22.81 kB / 2.515 GB, free: 24.57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04825/9.459, allocations: 19.2 MB / 2.533 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00916/9.468, allocations: 1.657 MB / 2.535 GB, free: 13.85 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004574/9.473, allocations: 168.4 kB / 2.535 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009441/9.482, allocations: 331 kB / 2.536 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002604/9.485, allocations: 461.9 kB / 2.536 GB, free: 13.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002506/9.487, allocations: 317.7 kB / 2.536 GB, free: 13.54 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01106/9.499, allocations: 3.204 MB / 2.539 GB, free: 12.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.292e-06/9.499, allocations: 0 / 2.539 GB, free: 12.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03769/9.536, allocations: 5.105 MB / 2.544 GB, free: 12.04 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.06043/9.597, allocations: 25.8 MB / 2.57 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04258/9.639, allocations: 15.63 MB / 2.585 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-05/9.64, allocations: 5.75 kB / 2.585 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01404/9.654, allocations: 4.865 MB / 2.59 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01865/9.672, allocations: 2.627 MB / 2.592 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6424/10.31, allocations: 56.44 MB / 2.647 GB, free: 38.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01303/10.33, allocations: 4.507 MB / 2.652 GB, free: 37.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.03227/10.36, allocations: 9.077 MB / 2.661 GB, free: 37.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01484/10.38, allocations: 3.158 MB / 2.664 GB, free: 37.47 MB / 0.5886 GB Notification: Performance of SimCode: time 3.046e-06/10.38, allocations: 2.344 kB / 2.664 GB, free: 37.47 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9923/11.37, allocations: 235.9 MB / 2.894 GB, free: 68.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/11.37, allocations: 259.4 kB / 2.894 GB, free: 68.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/22.8, allocations: 0 / 2.894 GB, free: 68.16 MB / 0.5886 GB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat