Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7946/0.7946, allocations: 143.3 MB / 158.3 MB, free: 5.621 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 188.7 kB / 191.5 MB, free: 5.633 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.2 MB / 447.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009685, allocations: 96.25 kB / 0.5188 GB, free: 2.926 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001935/0.001935, allocations: 281.2 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004808, allocations: 16 kB / 0.6929 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4587, allocations: 82.77 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8665/1.325, allocations: 372.6 MB / 1.138 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.326, allocations: 86.27 kB / 1.138 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8405/2.166, allocations: 172.1 MB / 1.306 GB, free: 151 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.317e-06/2.166, allocations: 0 / 1.306 GB, free: 151 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.335e-05/2.166, allocations: 12 kB / 1.306 GB, free: 151 MB / 0.698 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.001326/2.168, allocations: 0.7551 MB / 1.307 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/2.168, allocations: 16.02 kB / 1.307 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/2.168, allocations: 50.55 kB / 1.307 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/2.168, allocations: 47.53 kB / 1.307 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02863/2.196, allocations: 14.72 MB / 1.321 GB, free: 135.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/2.196, allocations: 12.33 kB / 1.321 GB, free: 135.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/2.196, allocations: 20 kB / 1.321 GB, free: 135.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/2.197, allocations: 180.1 kB / 1.321 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/2.197, allocations: 0 / 1.321 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/2.197, allocations: 4 kB / 1.321 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/2.197, allocations: 4 kB / 1.321 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/2.197, allocations: 144.2 kB / 1.321 GB, free: 134.8 MB / 0.698 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.0009636/2.198, allocations: 0.8333 MB / 1.322 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/2.198, allocations: 114.6 kB / 1.322 GB, free: 133.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/2.199, allocations: 336.4 kB / 1.323 GB, free: 133.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/2.199, allocations: 46.77 kB / 1.323 GB, free: 133.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/2.199, allocations: 3.938 kB / 1.323 GB, free: 133.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0004803/2.199, allocations: 213.2 kB / 1.323 GB, free: 133.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/2.199, allocations: 55.36 kB / 1.323 GB, free: 133 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/2.199, allocations: 288.9 kB / 1.323 GB, free: 132.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/2.2, allocations: 29.7 kB / 1.323 GB, free: 132.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/2.2, allocations: 200.2 kB / 1.323 GB, free: 132.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/2.2, allocations: 35.45 kB / 1.323 GB, free: 132.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/2.2, allocations: 0 / 1.323 GB, free: 132.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.557e-05/2.2, allocations: 346.8 kB / 1.324 GB, free: 132.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/2.2, allocations: 39.97 kB / 1.324 GB, free: 132.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/2.2, allocations: 111.2 kB / 1.324 GB, free: 132 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/2.2, allocations: 59.89 kB / 1.324 GB, free: 131.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/2.2, allocations: 4 kB / 1.324 GB, free: 131.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002877/2.2, allocations: 169.2 kB / 1.324 GB, free: 131.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/2.2, allocations: 190.1 kB / 1.324 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/2.2, allocations: 3.938 kB / 1.324 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/2.201, allocations: 0 / 1.324 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/2.201, allocations: 31.92 kB / 1.324 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/2.201, allocations: 0 / 1.324 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/2.201, allocations: 39.81 kB / 1.324 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/2.201, allocations: 8 kB / 1.324 GB, free: 131.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-06/2.201, allocations: 0 / 1.324 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002375/2.201, allocations: 115.9 kB / 1.324 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/2.201, allocations: 0 / 1.324 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-06/2.201, allocations: 4 kB / 1.324 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/2.201, allocations: 27.98 kB / 1.325 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/2.201, allocations: 4 kB / 1.325 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/2.201, allocations: 31.81 kB / 1.325 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/2.201, allocations: 8 kB / 1.325 GB, free: 131.3 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001379/2.202, allocations: 229 kB / 1.325 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/2.202, allocations: 31.62 kB / 1.325 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/2.202, allocations: 232.6 kB / 1.325 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/2.202, allocations: 0 / 1.325 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/2.202, allocations: 0 / 1.325 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/2.202, allocations: 0 / 1.325 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/2.203, allocations: 0.6102 MB / 1.326 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/2.203, allocations: 4 kB / 1.326 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/2.203, allocations: 31.92 kB / 1.326 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/2.203, allocations: 4 kB / 1.326 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/2.203, allocations: 3.938 kB / 1.326 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/2.203, allocations: 7.984 kB / 1.326 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/2.203, allocations: 3.953 kB / 1.326 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/2.203, allocations: 354.8 kB / 1.326 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/2.203, allocations: 116.6 kB / 1.326 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/2.203, allocations: 8 kB / 1.326 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/2.204, allocations: 19.97 kB / 1.326 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/2.204, allocations: 19.92 kB / 1.326 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/2.204, allocations: 12.09 kB / 1.326 GB, free: 129.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000162/2.204, allocations: 235.2 kB / 1.326 GB, free: 129.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.204, allocations: 0 / 1.326 GB, free: 129.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005807/2.204, allocations: 163.7 kB / 1.327 GB, free: 129.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009776/2.205, allocations: 1.286 MB / 1.328 GB, free: 127.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000442/2.206, allocations: 187.8 kB / 1.328 GB, free: 127.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.206, allocations: 0 / 1.328 GB, free: 127.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/2.206, allocations: 79.83 kB / 1.328 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/2.207, allocations: 143.2 kB / 1.328 GB, free: 127.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/2.209, allocations: 1.839 MB / 1.33 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/2.209, allocations: 0.7999 MB / 1.331 GB, free: 124.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002579/2.209, allocations: 79.52 kB / 1.331 GB, free: 124.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/2.209, allocations: 115.4 kB / 1.331 GB, free: 124.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/2.209, allocations: 0 / 1.331 GB, free: 124.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/2.231, allocations: 10.11 MB / 1.341 GB, free: 114.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/2.231, allocations: 254.5 kB / 1.341 GB, free: 114.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/4.789, allocations: 0 / 1.341 GB, free: 114.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)