Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.7323/0.7323, allocations: 127.4 MB / 134.9 MB, free: 3.715 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 176.9 kB / 164.6 MB, free: 6.539 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.731/1.731, allocations: 205.2 MB / 399.5 MB, free: 5.949 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.001079/0.001079, allocations: 91.95 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.225e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.442/5.616, allocations: 2.137 GB / 2.759 GB, free: 96.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/5.616, allocations: 87.33 kB / 2.759 GB, free: 96.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7652/6.381, allocations: 216.9 MB / 2.971 GB, free: 128.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/6.381, allocations: 0 / 2.971 GB, free: 128.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.56e-05/6.381, allocations: 7.047 kB / 2.971 GB, free: 128.9 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008029/6.382, allocations: 0.5562 MB / 2.971 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/6.382, allocations: 12.03 kB / 2.971 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003404/6.383, allocations: 57.56 kB / 2.971 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/6.383, allocations: 308.3 kB / 2.971 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/6.383, allocations: 4 kB / 2.971 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/6.383, allocations: 12 kB / 2.971 GB, free: 127.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001674/6.383, allocations: 87.91 kB / 2.972 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/6.383, allocations: 129.6 kB / 2.972 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/6.383, allocations: 0 / 2.972 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/6.383, allocations: 3.938 kB / 2.972 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/6.383, allocations: 4 kB / 2.972 GB, free: 127.6 MB / 0.6355 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.0007124/6.384, allocations: 0.5583 MB / 2.972 GB, free: 127 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/6.384, allocations: 90.67 kB / 2.972 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/6.384, allocations: 52.84 kB / 2.972 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/6.385, allocations: 182.2 kB / 2.973 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/6.385, allocations: 38.56 kB / 2.973 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/6.385, allocations: 4 kB / 2.973 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0006702/6.385, allocations: 169.5 kB / 2.973 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/6.385, allocations: 55.41 kB / 2.973 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/6.386, allocations: 176.5 kB / 2.973 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/6.386, allocations: 25.7 kB / 2.973 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/6.386, allocations: 156.2 kB / 2.973 GB, free: 126 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/6.386, allocations: 27.56 kB / 2.973 GB, free: 126 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/6.386, allocations: 0 / 2.973 GB, free: 126 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/6.386, allocations: 330.8 kB / 2.973 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/6.386, allocations: 27.98 kB / 2.973 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/6.386, allocations: 82 kB / 2.974 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/6.386, allocations: 47.89 kB / 2.974 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/6.386, allocations: 0 / 2.974 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001698/6.386, allocations: 125.3 kB / 2.974 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/6.386, allocations: 270.9 kB / 2.974 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/6.386, allocations: 4.062 kB / 2.974 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/6.386, allocations: 4 kB / 2.974 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/6.386, allocations: 31.97 kB / 2.974 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/6.386, allocations: 3.953 kB / 2.974 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/6.387, allocations: 31.91 kB / 2.974 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/6.387, allocations: 8 kB / 2.974 GB, free: 125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/6.387, allocations: 5.875 kB / 2.974 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001032/6.387, allocations: 67.89 kB / 2.974 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-06/6.387, allocations: 0 / 2.974 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-06/6.387, allocations: 0 / 2.974 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/6.387, allocations: 23.98 kB / 2.974 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/6.387, allocations: 0 / 2.974 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/6.387, allocations: 19.92 kB / 2.974 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/6.387, allocations: 8 kB / 2.974 GB, free: 124.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.156e-05/6.387, allocations: 112.9 kB / 2.974 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000152/6.387, allocations: 121.5 kB / 2.974 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/6.387, allocations: 15.81 kB / 2.974 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/6.387, allocations: 25.83 kB / 2.974 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/6.387, allocations: 4 kB / 2.974 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/6.387, allocations: 0 / 2.974 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/6.387, allocations: 288 / 2.974 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/6.388, allocations: 0.5192 MB / 2.975 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/6.388, allocations: 4 kB / 2.975 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/6.388, allocations: 31.97 kB / 2.975 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/6.388, allocations: 0 / 2.975 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/6.388, allocations: 4 kB / 2.975 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/6.388, allocations: 3.938 kB / 2.975 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/6.388, allocations: 7.953 kB / 2.975 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/6.388, allocations: 326.7 kB / 2.975 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/6.389, allocations: 96.83 kB / 2.975 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/6.389, allocations: 0 / 2.975 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/6.389, allocations: 23.97 kB / 2.975 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/6.389, allocations: 15.94 kB / 2.975 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/6.389, allocations: 12 kB / 2.975 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.2e-05/6.389, allocations: 148.5 kB / 2.976 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/6.389, allocations: 0 / 2.976 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006002/6.39, allocations: 147.7 kB / 2.976 GB, free: 123.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 9 * 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 Backend phase and start with SimCode phase: time 0.001485/6.391, allocations: 2.184 MB / 2.978 GB, free: 121 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002213/6.391, allocations: 125.2 kB / 2.978 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/6.391, allocations: 0 / 2.978 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/6.391, allocations: 47.91 kB / 2.978 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/6.392, allocations: 110.5 kB / 2.978 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/6.393, allocations: 358 kB / 2.978 GB, free: 120.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/6.393, allocations: 0.7602 MB / 2.979 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002695/6.393, allocations: 66 kB / 2.979 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-05/6.393, allocations: 75.41 kB / 2.979 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/6.393, allocations: 0 / 2.979 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/6.425, allocations: 12.44 MB / 2.992 GB, free: 107 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/6.425, allocations: 177.7 kB / 2.992 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/8.69, allocations: 4.031 kB / 2.992 GB, free: 106.8 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)