Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001259/0.00126, allocations: 169 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.001175/0.001175, allocations: 87.95 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.237e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2964, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.494, allocations: 443.8 MB / 1.652 GB, free: 6.609 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.495, allocations: 90.89 kB / 1.652 GB, free: 6.523 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.87/4.365, allocations: 0.7917 GB / 2.444 GB, free: 99.84 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.954e-06/4.365, allocations: 0 / 2.444 GB, free: 99.84 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0008859/4.366, allocations: 195.8 kB / 2.444 GB, free: 99.64 MB / 1.135 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.01327/4.379, allocations: 5.695 MB / 2.45 GB, free: 93.88 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/4.379, allocations: 8.031 kB / 2.45 GB, free: 93.87 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001545/4.38, allocations: 0.7025 MB / 2.451 GB, free: 93.16 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/4.384, allocations: 0.8423 MB / 2.451 GB, free: 92.3 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04783/4.432, allocations: 24.43 MB / 2.475 GB, free: 67.64 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/4.432, allocations: 415.8 kB / 2.476 GB, free: 67.23 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008374/4.433, allocations: 0.5037 MB / 2.476 GB, free: 66.73 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/4.443, allocations: 7.029 MB / 2.483 GB, free: 59.41 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/4.443, allocations: 23.78 kB / 2.483 GB, free: 59.38 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005651/4.444, allocations: 224 kB / 2.483 GB, free: 59.16 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/4.444, allocations: 225.5 kB / 2.483 GB, free: 58.94 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007354/4.451, allocations: 5.339 MB / 2.489 GB, free: 53.59 MB / 1.135 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.03185/4.483, allocations: 29.83 MB / 2.518 GB, free: 22.37 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/4.488, allocations: 3.359 MB / 2.521 GB, free: 19 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/4.49, allocations: 1.704 MB / 2.523 GB, free: 17.3 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007812/4.49, allocations: 0.9708 MB / 2.524 GB, free: 16.13 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/4.49, allocations: 77.11 kB / 2.524 GB, free: 16.05 MB / 1.135 GB Notification: Performance of pre-optimization done (n=253): time 4.368e-06/4.49, allocations: 0 / 2.524 GB, free: 16.05 MB / 1.135 GB Notification: Performance of matching and sorting (n=253): time 0.004787/4.495, allocations: 3.155 MB / 2.527 GB, free: 12.88 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/4.495, allocations: 85.36 kB / 2.527 GB, free: 12.78 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006788/4.502, allocations: 5.803 MB / 2.533 GB, free: 6.965 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0003686/4.502, allocations: 81.7 kB / 2.533 GB, free: 6.879 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001918/4.504, allocations: 3.018 MB / 2.536 GB, free: 3.84 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007339/4.505, allocations: 0.9052 MB / 2.536 GB, free: 2.922 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/4.505, allocations: 68 kB / 2.537 GB, free: 2.855 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001538/4.505, allocations: 445.2 kB / 2.537 GB, free: 2.414 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/4.507, allocations: 1.459 MB / 2.538 GB, free: 0.9531 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/4.51, allocations: 2.605 MB / 2.541 GB, free: 13.83 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/4.513, allocations: 2.076 MB / 2.543 GB, free: 11.73 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/4.513, allocations: 8 kB / 2.543 GB, free: 11.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007585/4.521, allocations: 4.674 MB / 2.547 GB, free: 6.996 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.7183/5.239, allocations: 17.27 MB / 2.564 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/5.239, allocations: 35.5 kB / 2.564 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/5.239, allocations: 63.36 kB / 2.564 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/5.244, allocations: 0.8756 MB / 2.565 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006113/5.244, allocations: 1.239 MB / 2.567 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006539/5.251, allocations: 0.5784 MB / 2.567 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007844/5.252, allocations: 172.8 kB / 2.567 GB, free: 188.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/5.252, allocations: 4.969 kB / 2.567 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007489/5.259, allocations: 4.165 MB / 2.571 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.418e-05/5.259, allocations: 35.61 kB / 2.571 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-05/5.259, allocations: 59.94 kB / 2.571 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/5.263, allocations: 0.8625 MB / 2.572 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.463e-05/5.263, allocations: 79.67 kB / 2.572 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005439/5.268, allocations: 0.5217 MB / 2.573 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000461/5.269, allocations: 164 kB / 2.573 GB, free: 188.8 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.001063/5.27, allocations: 327.4 kB / 2.573 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/5.272, allocations: 0.5641 MB / 2.574 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007131/5.279, allocations: 3.651 MB / 2.577 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/5.279, allocations: 24.77 kB / 2.577 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/5.279, allocations: 0 / 2.577 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003763/5.283, allocations: 2.742 MB / 2.58 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/5.301, allocations: 9.363 MB / 2.589 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/5.301, allocations: 1.469 kB / 2.589 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/5.303, allocations: 0.5428 MB / 2.59 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.267e-05/5.303, allocations: 8.438 kB / 2.59 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/5.304, allocations: 77.11 kB / 2.59 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003749/5.304, allocations: 1.178 MB / 2.591 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/5.304, allocations: 1.891 kB / 2.591 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009005/5.313, allocations: 5.57 MB / 2.596 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005205/5.318, allocations: 1.342 MB / 2.598 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/5.32, allocations: 60.88 kB / 2.598 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004749/5.325, allocations: 263.9 kB / 2.598 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/5.326, allocations: 155.5 kB / 2.598 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005406/5.326, allocations: 146.5 kB / 2.598 GB, free: 185.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01114/5.337, allocations: 4.563 MB / 2.603 GB, free: 185.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.62e-07/5.337, allocations: 0 / 2.603 GB, free: 185.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01592/5.353, allocations: 3.252 MB / 2.606 GB, free: 185 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.01532/5.369, allocations: 6.894 MB / 2.613 GB, free: 183.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01023/5.379, allocations: 5.809 MB / 2.618 GB, free: 183.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/5.379, allocations: 3.906 kB / 2.618 GB, free: 183.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/5.381, allocations: 1.533 MB / 2.62 GB, free: 183.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01931/5.401, allocations: 3.866 MB / 2.624 GB, free: 183.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0289/5.429, allocations: 13.79 MB / 2.637 GB, free: 181.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005851/5.435, allocations: 4.687 MB / 2.642 GB, free: 180.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01457/5.45, allocations: 5.022 MB / 2.647 GB, free: 180.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004303/5.454, allocations: 2.502 MB / 2.649 GB, free: 180.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/5.454, allocations: 0 / 2.649 GB, free: 180.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2381/5.692, allocations: 186.9 MB / 2.832 GB, free: 110.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/5.693, allocations: 216.1 kB / 2.832 GB, free: 110.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/14.09, allocations: 7.938 kB / 2.832 GB, free: 110.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat does not exist to compare? outputFormat=mat