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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.4 MB / 0.6655 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 15.94 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.7123, allocations: 142.3 MB / 0.9539 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04969/0.762, allocations: 42.37 MB / 0.9952 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.7785, allocations: 10.8 MB / 1.006 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.7809, allocations: 51.69 kB / 1.006 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.7831, allocations: 496.8 kB / 1.006 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.7898, allocations: 1.763 MB / 1.008 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.7937, allocations: 1.128 MB / 1.009 GB, free: 7.379 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02741/0.8211, allocations: 24.93 MB / 1.033 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.8323, allocations: 6.414 MB / 1.04 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/0.8446, allocations: 5.443 MB / 1.045 GB, free: 2.438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01048/0.8551, allocations: 5.316 MB / 1.05 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.8575, allocations: 288 kB / 1.051 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006193/0.8637, allocations: 1.08 MB / 1.052 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003289/0.867, allocations: 1.35 MB / 1.053 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.871, allocations: 1.584 MB / 1.054 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.8834, allocations: 10.26 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8834, allocations: 4 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8834, allocations: 0 / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003628/0.8838, allocations: 0 / 1.064 GB, free: 14.5 MB / 0.8262 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.01473/0.8985, allocations: 6.712 MB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.8986, allocations: 8.031 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002443/0.9011, allocations: 0.7181 MB / 1.072 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003844/0.9049, allocations: 0.854 MB / 1.073 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.921, allocations: 7.619 MB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004972/0.9215, allocations: 423.8 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.9232, allocations: 0.5076 MB / 1.081 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.94, allocations: 7.636 MB / 1.088 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.9402, allocations: 23.77 kB / 1.088 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007354/0.9409, allocations: 224 kB / 1.089 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.9411, allocations: 167.9 kB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.9535, allocations: 6.04 MB / 1.095 GB, free: 15.09 MB / 0.8575 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.04403/0.9976, allocations: 29.28 MB / 1.123 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005077/1.003, allocations: 3.388 MB / 1.127 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/1.005, allocations: 1.96 MB / 1.128 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.006, allocations: 0.9982 MB / 1.129 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.322e-05/1.007, allocations: 73.12 kB / 1.13 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=253): time 4.017e-06/1.007, allocations: 0 / 1.13 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of matching and sorting (n=253): time 0.00783/1.014, allocations: 4.691 MB / 1.134 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.014, allocations: 77.41 kB / 1.134 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009656/1.024, allocations: 6.103 MB / 1.14 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006807/1.025, allocations: 81.7 kB / 1.14 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002887/1.028, allocations: 2.98 MB / 1.143 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.029, allocations: 0.9013 MB / 1.144 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.029, allocations: 68 kB / 1.144 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002941/1.03, allocations: 453.1 kB / 1.144 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/1.032, allocations: 1.619 MB / 1.146 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/1.036, allocations: 2.67 MB / 1.149 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/1.039, allocations: 2.215 MB / 1.151 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/1.039, allocations: 12 kB / 1.151 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009139/1.048, allocations: 4.947 MB / 1.156 GB, free: 14.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009103/1.049, allocations: 1.024 MB / 1.157 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/1.049, allocations: 28.08 kB / 1.157 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.929e-05/1.049, allocations: 56 kB / 1.157 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/1.053, allocations: 0.8112 MB / 1.158 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009185/1.053, allocations: 1.258 MB / 1.159 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005391/1.059, allocations: 0.6124 MB / 1.159 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005652/1.059, allocations: 160 kB / 1.16 GB, free: 10.08 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.06, allocations: 4 kB / 1.16 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007997/1.068, allocations: 4.428 MB / 1.164 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/1.068, allocations: 28 kB / 1.164 GB, free: 5.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.644e-05/1.068, allocations: 56 kB / 1.164 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/1.071, allocations: 0.7845 MB / 1.165 GB, free: 4.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.991e-05/1.071, allocations: 67.78 kB / 1.165 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/1.075, allocations: 0.5507 MB / 1.165 GB, free: 4.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004784/1.076, allocations: 167.9 kB / 1.165 GB, free: 3.957 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (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.005203/1.081, allocations: 2.528 MB / 1.168 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001982/1.083, allocations: 0.5597 MB / 1.168 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007071/1.09, allocations: 3.898 MB / 1.172 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/1.09, allocations: 31.98 kB / 1.172 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.09, allocations: 0 / 1.172 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00447/1.095, allocations: 2.994 MB / 1.175 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.114, allocations: 9.753 MB / 1.185 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.114, allocations: 0 / 1.185 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/1.117, allocations: 0.597 MB / 1.185 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-05/1.117, allocations: 15.94 kB / 1.185 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/1.117, allocations: 79.91 kB / 1.185 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006806/1.118, allocations: 1.176 MB / 1.187 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/1.118, allocations: 4.125 kB / 1.187 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009003/1.127, allocations: 5.654 MB / 1.192 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004199/1.131, allocations: 1.317 MB / 1.193 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/1.133, allocations: 59.98 kB / 1.193 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004608/1.137, allocations: 386.8 kB / 1.194 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/1.138, allocations: 153.8 kB / 1.194 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003676/1.138, allocations: 147.9 kB / 1.194 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.008365/1.146, allocations: 4.304 MB / 1.198 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.71e-07/1.146, allocations: 3.938 kB / 1.198 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0112/1.158, allocations: 3.242 MB / 1.201 GB, free: 14.61 MB / 0.9669 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 () * Number of clocked 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.01119/1.169, allocations: 6.554 MB / 1.208 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.18, allocations: 5.997 MB / 1.214 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.18, allocations: 4.562 kB / 1.214 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/1.183, allocations: 1.597 MB / 1.215 GB, free: 340 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0204/1.204, allocations: 3.943 MB / 1.219 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7367/1.94, allocations: 51.73 MB / 1.27 GB, free: 271.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005702/1.946, allocations: 4.554 MB / 1.274 GB, free: 269.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.01099/1.957, allocations: 2.866 MB / 1.277 GB, free: 269.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0061/1.963, allocations: 2.591 MB / 1.279 GB, free: 267.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.723e-06/1.963, allocations: 0 / 1.279 GB, free: 267.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/2.214, allocations: 183.5 MB / 1.459 GB, free: 101.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/2.215, allocations: 254.1 kB / 1.459 GB, free: 100.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.285/8.5, allocations: 0 / 1.459 GB, free: 100.9 MB / 1.014 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