Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001157, allocations: 90.78 kB / 16.66 MB, free: 5.793 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.001334/0.001334, allocations: 178.8 kB / 17.58 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7141/0.7141, allocations: 115.5 MB / 408.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005613, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4268, allocations: 77.52 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1824/0.6093, allocations: 157.2 MB / 0.7141 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.6126, allocations: 1.707 MB / 0.7157 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.6131, allocations: 7.938 kB / 0.7158 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.6138, allocations: 127.2 kB / 0.7159 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.6153, allocations: 0.4898 MB / 0.7164 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.6165, allocations: 373.3 kB / 0.7167 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.6176, allocations: 0.7643 MB / 0.7175 GB, free: 2.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.618, allocations: 140.5 kB / 0.7176 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007826/0.6188, allocations: 298.8 kB / 0.7179 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.6191, allocations: 151.3 kB / 0.718 GB, free: 1.652 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.6192, allocations: 11.94 kB / 0.718 GB, free: 1.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.6206, allocations: 0.7717 MB / 0.7188 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.6207, allocations: 83.66 kB / 0.7189 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.6209, allocations: 129.1 kB / 0.719 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.6215, allocations: 355.2 kB / 0.7193 GB, free: 312 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6215, allocations: 0 / 0.7193 GB, free: 312 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6216, allocations: 0 / 0.7193 GB, free: 312 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.026e-06/0.6216, allocations: 0 / 0.7193 GB, free: 312 kB / 0.545 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.0008972/0.6225, allocations: 0.5372 MB / 0.7198 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.6225, allocations: 11.97 kB / 0.7199 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.6229, allocations: 59.62 kB / 0.7199 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.6233, allocations: 293.3 kB / 0.7202 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.6234, allocations: 12 kB / 0.7202 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.6234, allocations: 12 kB / 0.7202 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.6238, allocations: 196.1 kB / 0.7204 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6238, allocations: 0 / 0.7204 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.6238, allocations: 12 kB / 0.7204 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.6239, allocations: 4 kB / 0.7204 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.6242, allocations: 135.8 kB / 0.7206 GB, free: 14.94 MB / 0.5606 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.001127/0.6253, allocations: 0.7925 MB / 0.7213 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.6256, allocations: 94.45 kB / 0.7214 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.6258, allocations: 80.86 kB / 0.7215 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/0.6261, allocations: 194.2 kB / 0.7217 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.6261, allocations: 30.56 kB / 0.7217 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.6261, allocations: 0 / 0.7217 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007317/0.6269, allocations: 241.1 kB / 0.7219 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.6269, allocations: 59.39 kB / 0.722 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.6273, allocations: 267 kB / 0.7222 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.6273, allocations: 25.7 kB / 0.7223 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.6274, allocations: 148 kB / 0.7224 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.6275, allocations: 27.56 kB / 0.7224 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.6275, allocations: 21.7 kB / 0.7225 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6277, allocations: 326.8 kB / 0.7228 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.6279, allocations: 51.95 kB / 0.7228 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.6281, allocations: 101 kB / 0.7229 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.6284, allocations: 131.3 kB / 0.723 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6284, allocations: 0 / 0.723 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003999/0.6288, allocations: 165.3 kB / 0.7232 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.6289, allocations: 119.5 kB / 0.7233 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6289, allocations: 4 kB / 0.7233 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.629, allocations: 0 / 0.7233 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.6291, allocations: 31.92 kB / 0.7233 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.6291, allocations: 0 / 0.7233 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.6294, allocations: 23.89 kB / 0.7234 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.6294, allocations: 12 kB / 0.7234 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.6294, allocations: 6.031 kB / 0.7234 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003036/0.6297, allocations: 128.1 kB / 0.7235 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.6297, allocations: 0 / 0.7235 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.85e-06/0.6298, allocations: 0 / 0.7235 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.6299, allocations: 27.92 kB / 0.7235 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.6299, allocations: 0 / 0.7235 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.6301, allocations: 35.77 kB / 0.7236 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.6301, allocations: 8 kB / 0.7236 GB, free: 11.61 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.6303, allocations: 209.1 kB / 0.7238 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.6304, allocations: 27.7 kB / 0.7238 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.6308, allocations: 183.8 kB / 0.724 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6308, allocations: 0 / 0.724 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.6309, allocations: 3.938 kB / 0.724 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6309, allocations: 4 kB / 0.724 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.6319, allocations: 0.5976 MB / 0.7246 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6319, allocations: 3.938 kB / 0.7246 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.6321, allocations: 24.2 kB / 0.7246 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.6321, allocations: 8 kB / 0.7246 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.6321, allocations: 4 kB / 0.7246 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6321, allocations: 3.984 kB / 0.7246 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6321, allocations: 4 kB / 0.7246 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.6326, allocations: 309 kB / 0.7249 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.6327, allocations: 116.8 kB / 0.725 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.6328, allocations: 4 kB / 0.725 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.633, allocations: 19.98 kB / 0.725 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.6331, allocations: 11.92 kB / 0.7251 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.6331, allocations: 4 kB / 0.7251 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002415/0.6334, allocations: 198 kB / 0.7253 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6334, allocations: 0 / 0.7253 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005436/0.6339, allocations: 99.83 kB / 0.7253 GB, free: 9.641 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004631/0.6344, allocations: 156.5 kB / 0.7255 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005105/0.6349, allocations: 183.7 kB / 0.7257 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6349, allocations: 0 / 0.7257 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.6351, allocations: 68.64 kB / 0.7257 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.636, allocations: 132.5 kB / 0.7259 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008555/0.6369, allocations: 0.5399 MB / 0.7264 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.6373, allocations: 0.7599 MB / 0.7271 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.6374, allocations: 19.44 kB / 0.7272 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.6374, allocations: 0 / 0.7272 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of Templates: time 0.007465/0.6448, allocations: 3.727 MB / 0.7308 GB, free: 4.043 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)