Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7271/0.7271, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 188.7 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 404.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 88.67 kB / 481.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.229e-05/6.284e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1983, allocations: 76.76 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.48, allocations: 361.5 MB / 0.9813 GB, free: 150.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.48, allocations: 86.52 kB / 0.9814 GB, free: 150.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.3002/1.78, allocations: 165 MB / 1.143 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/1.78, allocations: 0 / 1.143 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.761e-05/1.78, allocations: 12 kB / 1.143 GB, free: 6.516 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001154/1.782, allocations: 0.6545 MB / 1.143 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.782, allocations: 12.03 kB / 1.143 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/1.782, allocations: 50.55 kB / 1.143 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/1.782, allocations: 51.47 kB / 1.143 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.458/2.24, allocations: 13.25 MB / 1.156 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/2.24, allocations: 13.3 kB / 1.156 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/2.24, allocations: 24.56 kB / 1.156 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/2.241, allocations: 184.7 kB / 1.156 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/2.241, allocations: 5 kB / 1.156 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/2.241, allocations: 11.92 kB / 1.156 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/2.241, allocations: 3.969 kB / 1.156 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/2.241, allocations: 144 kB / 1.157 GB, free: 178.9 MB / 0.6511 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.001252/2.243, allocations: 0.8117 MB / 1.157 GB, free: 178.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/2.243, allocations: 116.3 kB / 1.158 GB, free: 178.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/2.243, allocations: 37.67 kB / 1.158 GB, free: 178.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/2.244, allocations: 341.5 kB / 1.158 GB, free: 177.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/2.244, allocations: 33.16 kB / 1.158 GB, free: 177.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/2.244, allocations: 0 / 1.158 GB, free: 177.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.00103/2.245, allocations: 195.2 kB / 1.158 GB, free: 177.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/2.245, allocations: 52.31 kB / 1.158 GB, free: 177.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/2.245, allocations: 288.8 kB / 1.158 GB, free: 177.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/2.245, allocations: 34.72 kB / 1.158 GB, free: 177.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/2.245, allocations: 199.4 kB / 1.159 GB, free: 177.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/2.245, allocations: 33.81 kB / 1.159 GB, free: 177.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/2.245, allocations: 3.938 kB / 1.159 GB, free: 177.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001203/2.245, allocations: 340 kB / 1.159 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/2.245, allocations: 27.7 kB / 1.159 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/2.246, allocations: 92.69 kB / 1.159 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/2.246, allocations: 45.3 kB / 1.159 GB, free: 177.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/2.246, allocations: 0 / 1.159 GB, free: 177.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002628/2.246, allocations: 143 kB / 1.159 GB, free: 177.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/2.246, allocations: 179.8 kB / 1.159 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/2.246, allocations: 1.703 kB / 1.159 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/2.246, allocations: 7.906 kB / 1.159 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/2.246, allocations: 34.88 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/2.246, allocations: 0 / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/2.247, allocations: 44.75 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/2.247, allocations: 5.703 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/2.247, allocations: 7.734 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000152/2.247, allocations: 72.05 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/2.247, allocations: 2 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/2.247, allocations: 0 / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/2.247, allocations: 28.34 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/2.247, allocations: 0.9375 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/2.247, allocations: 34.88 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/2.247, allocations: 6.656 kB / 1.16 GB, free: 176.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.246e-05/2.247, allocations: 109.2 kB / 1.16 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/2.247, allocations: 35.7 kB / 1.16 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/2.248, allocations: 170 kB / 1.16 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/2.248, allocations: 5.469 kB / 1.16 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/2.248, allocations: 0 / 1.16 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/2.248, allocations: 0.5625 kB / 1.16 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/2.248, allocations: 305.2 kB / 1.16 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/2.248, allocations: 1.031 kB / 1.16 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/2.248, allocations: 28.23 kB / 1.16 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/2.248, allocations: 7.328 kB / 1.16 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/2.248, allocations: 2.5 kB / 1.16 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/2.248, allocations: 1.062 kB / 1.16 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/2.248, allocations: 0 / 1.16 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/2.249, allocations: 162.7 kB / 1.161 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/2.249, allocations: 115.5 kB / 1.161 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/2.249, allocations: 5.516 kB / 1.161 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/2.249, allocations: 27.98 kB / 1.161 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/2.249, allocations: 5.641 kB / 1.161 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/2.249, allocations: 7.734 kB / 1.161 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002495/2.249, allocations: 245.4 kB / 1.161 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/2.249, allocations: 0 / 1.161 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006021/2.25, allocations: 158.2 kB / 1.161 GB, free: 176.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000887/2.251, allocations: 0.8704 MB / 1.162 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002992/2.251, allocations: 134.5 kB / 1.162 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/2.251, allocations: 0 / 1.162 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.224e-05/2.251, allocations: 45.8 kB / 1.162 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/2.252, allocations: 143.9 kB / 1.162 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/2.253, allocations: 432.7 kB / 1.163 GB, free: 175.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/2.253, allocations: 0.794 MB / 1.163 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004089/2.254, allocations: 91.78 kB / 1.163 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/2.254, allocations: 114.5 kB / 1.164 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of SimCode: time 6.22e-07/2.254, allocations: 0 / 1.164 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/2.285, allocations: 11.01 MB / 1.174 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/2.285, allocations: 203.8 kB / 1.175 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/4.612, allocations: 0 / 1.175 GB, free: 174.3 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)