Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.001571, allocations: 176.1 kB / 492.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.001071, allocations: 90.77 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.094e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2998, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.637, allocations: 443 MB / 1.645 GB, free: 4.301 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.637, allocations: 89.11 kB / 1.645 GB, free: 4.258 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.047/4.684, allocations: 0.7917 GB / 2.437 GB, free: 196.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.254e-06/4.684, allocations: 0 / 2.437 GB, free: 196.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001286/4.686, allocations: 195.4 kB / 2.437 GB, free: 196.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01888/4.705, allocations: 5.689 MB / 2.443 GB, free: 190.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/4.705, allocations: 12.03 kB / 2.443 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003361/4.708, allocations: 0.7044 MB / 2.443 GB, free: 189.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/4.714, allocations: 0.8459 MB / 2.444 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0527/4.766, allocations: 24.41 MB / 2.468 GB, free: 165.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005085/4.767, allocations: 424.5 kB / 2.468 GB, free: 164.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/4.769, allocations: 0.515 MB / 2.469 GB, free: 164.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01746/4.786, allocations: 7.016 MB / 2.476 GB, free: 157 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003567/4.787, allocations: 19.86 kB / 2.476 GB, free: 156.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001814/4.789, allocations: 223.3 kB / 2.476 GB, free: 156.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002172/4.789, allocations: 221.5 kB / 2.476 GB, free: 156.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/4.801, allocations: 5.347 MB / 2.481 GB, free: 151.1 MB / 1.151 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.04611/4.847, allocations: 29.84 MB / 2.511 GB, free: 120.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/4.852, allocations: 3.351 MB / 2.514 GB, free: 116.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/4.854, allocations: 1.697 MB / 2.516 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008407/4.855, allocations: 0.9811 MB / 2.516 GB, free: 114 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.416e-05/4.855, allocations: 73.12 kB / 2.517 GB, free: 113.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=253): time 4.017e-06/4.855, allocations: 0 / 2.517 GB, free: 113.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=253): time 0.005929/4.861, allocations: 3.167 MB / 2.52 GB, free: 110.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/4.861, allocations: 77.41 kB / 2.52 GB, free: 110.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/4.873, allocations: 5.799 MB / 2.525 GB, free: 104.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008379/4.873, allocations: 89.7 kB / 2.525 GB, free: 104.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003239/4.877, allocations: 3.017 MB / 2.528 GB, free: 101.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/4.878, allocations: 0.9048 MB / 2.529 GB, free: 100.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/4.879, allocations: 72 kB / 2.529 GB, free: 100.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003238/4.879, allocations: 445.2 kB / 2.53 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/4.881, allocations: 1.451 MB / 2.531 GB, free: 98.86 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/4.883, allocations: 2.613 MB / 2.534 GB, free: 95.73 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/4.886, allocations: 2.076 MB / 2.536 GB, free: 93.63 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/4.886, allocations: 12 kB / 2.536 GB, free: 93.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006885/4.893, allocations: 4.678 MB / 2.54 GB, free: 88.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.002955/4.896, allocations: 17.26 MB / 2.557 GB, free: 70.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.516e-05/4.896, allocations: 39.94 kB / 2.557 GB, free: 70.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.721e-05/4.896, allocations: 60 kB / 2.557 GB, free: 70.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/4.899, allocations: 0.884 MB / 2.558 GB, free: 69.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004891/4.899, allocations: 1.242 MB / 2.559 GB, free: 68.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005573/4.905, allocations: 0.5885 MB / 2.56 GB, free: 67.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/4.905, allocations: 168 kB / 2.56 GB, free: 67.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/4.906, allocations: 5.25 kB / 2.56 GB, free: 67.48 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005443/4.911, allocations: 4.155 MB / 2.564 GB, free: 63.28 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.95e-05/4.911, allocations: 32 kB / 2.564 GB, free: 63.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.314e-05/4.911, allocations: 60.88 kB / 2.564 GB, free: 63.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/4.914, allocations: 0.8697 MB / 2.565 GB, free: 62.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.716e-05/4.914, allocations: 79.72 kB / 2.565 GB, free: 62.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00539/4.919, allocations: 0.519 MB / 2.566 GB, free: 61.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003811/4.92, allocations: 164 kB / 2.566 GB, free: 61.56 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000908/4.921, allocations: 336.9 kB / 2.566 GB, free: 61.22 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/4.923, allocations: 0.5597 MB / 2.567 GB, free: 60.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005922/4.929, allocations: 3.648 MB / 2.57 GB, free: 56.95 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/4.929, allocations: 28 kB / 2.57 GB, free: 56.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/4.929, allocations: 0 / 2.57 GB, free: 56.93 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003057/4.932, allocations: 2.744 MB / 2.573 GB, free: 54.13 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/4.947, allocations: 9.359 MB / 2.582 GB, free: 44.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/4.947, allocations: 3.984 kB / 2.582 GB, free: 44.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/4.949, allocations: 0.5345 MB / 2.583 GB, free: 44.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/4.949, allocations: 8 kB / 2.583 GB, free: 44.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/4.95, allocations: 83.89 kB / 2.583 GB, free: 44.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003865/4.95, allocations: 1.18 MB / 2.584 GB, free: 42.84 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/4.95, allocations: 4 kB / 2.584 GB, free: 42.84 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/4.957, allocations: 5.565 MB / 2.589 GB, free: 37.15 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004065/4.961, allocations: 1.349 MB / 2.591 GB, free: 35.77 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/4.963, allocations: 59.98 kB / 2.591 GB, free: 35.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004247/4.967, allocations: 267.1 kB / 2.591 GB, free: 35.45 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/4.968, allocations: 157.7 kB / 2.591 GB, free: 35.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003335/4.968, allocations: 143.9 kB / 2.591 GB, free: 35.16 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.008075/4.976, allocations: 4.568 MB / 2.596 GB, free: 30.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.61e-07/4.976, allocations: 0 / 2.596 GB, free: 30.58 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01134/4.987, allocations: 3.249 MB / 2.599 GB, free: 27.33 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00878/4.996, allocations: 6.87 MB / 2.606 GB, free: 20.41 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008005/5.004, allocations: 5.812 MB / 2.611 GB, free: 14.58 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/5.004, allocations: 6.562 kB / 2.611 GB, free: 14.58 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/5.006, allocations: 1.53 MB / 2.613 GB, free: 13.04 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02035/5.027, allocations: 3.868 MB / 2.617 GB, free: 9.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/5.059, allocations: 13.8 MB / 2.63 GB, free: 11.61 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006219/5.066, allocations: 4.69 MB / 2.635 GB, free: 6.891 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01753/5.083, allocations: 5.02 MB / 2.64 GB, free: 1.926 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7184/5.802, allocations: 2.506 MB / 2.642 GB, free: 213.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/5.802, allocations: 0 / 2.642 GB, free: 213.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2951/6.097, allocations: 186.9 MB / 2.825 GB, free: 192.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/6.097, allocations: 221.3 kB / 2.825 GB, free: 192 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/14.13, allocations: 0 / 2.825 GB, free: 192 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat does not exist to compare? outputFormat=mat