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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.00109/0.00109, allocations: 104.2 kB / 16.4 MB, free: 6.516 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.001178/0.001178, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7349/0.7349, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.52 kB / 0.5679 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 77.94 MB / 0.644 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5208/0.6809, allocations: 161.5 MB / 0.8018 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.6835, allocations: 1.712 MB / 0.8034 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.6838, allocations: 11.19 kB / 0.8034 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.6843, allocations: 165.6 kB / 0.8036 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.6855, allocations: 0.5315 MB / 0.8041 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.6865, allocations: 428.6 kB / 0.8045 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006609/0.6872, allocations: 0.5702 MB / 0.8051 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.6875, allocations: 175.2 kB / 0.8053 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.688, allocations: 329.3 kB / 0.8056 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.6882, allocations: 145.4 kB / 0.8057 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.6883, allocations: 13.75 kB / 0.8057 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009658/0.6892, allocations: 0.7019 MB / 0.8064 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.6893, allocations: 82.86 kB / 0.8065 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.6895, allocations: 116.9 kB / 0.8066 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.6901, allocations: 0.4965 MB / 0.8071 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6901, allocations: 0 / 0.8071 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6901, allocations: 0 / 0.8071 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.6902, allocations: 2.562 kB / 0.8071 GB, free: 11.26 MB / 0.5919 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.0007584/0.6909, allocations: 0.5895 MB / 0.8077 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.691, allocations: 14.66 kB / 0.8077 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.691, allocations: 49.81 kB / 0.8077 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.6913, allocations: 62.73 kB / 0.8078 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.6918, allocations: 298.8 kB / 0.8081 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.6918, allocations: 11.88 kB / 0.8081 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.6918, allocations: 17.69 kB / 0.8081 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.6922, allocations: 193.1 kB / 0.8083 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6922, allocations: 2.906 kB / 0.8083 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.6922, allocations: 6.812 kB / 0.8083 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.6922, allocations: 4.531 kB / 0.8083 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.6925, allocations: 129.1 kB / 0.8084 GB, free: 10.41 MB / 0.5919 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.0009178/0.6934, allocations: 0.786 MB / 0.8092 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.6937, allocations: 84.86 kB / 0.8093 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.6938, allocations: 76.03 kB / 0.8093 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.6941, allocations: 188.6 kB / 0.8095 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.6941, allocations: 41.08 kB / 0.8096 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.6941, allocations: 0 / 0.8096 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006358/0.6948, allocations: 216.6 kB / 0.8098 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.6948, allocations: 51.41 kB / 0.8098 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.6951, allocations: 274.4 kB / 0.8101 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.6951, allocations: 28.42 kB / 0.8101 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.6952, allocations: 154.8 kB / 0.8102 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.6952, allocations: 33.88 kB / 0.8103 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.6953, allocations: 29.03 kB / 0.8103 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6954, allocations: 330.9 kB / 0.8106 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.6955, allocations: 48.61 kB / 0.8107 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.6957, allocations: 97.44 kB / 0.8108 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.6959, allocations: 117.4 kB / 0.8109 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6959, allocations: 0 / 0.8109 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000333/0.6963, allocations: 163.5 kB / 0.811 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6963, allocations: 6.812 kB / 0.811 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6963, allocations: 0 / 0.811 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6963, allocations: 10.38 kB / 0.811 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6965, allocations: 19.67 kB / 0.8111 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6965, allocations: 2.531 kB / 0.8111 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.6967, allocations: 29.86 kB / 0.8111 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.6967, allocations: 5.594 kB / 0.8111 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001818/0.6969, allocations: 147.4 kB / 0.8112 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001468/0.697, allocations: 90.39 kB / 0.8113 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002431/0.6973, allocations: 132.1 kB / 0.8115 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.6973, allocations: 0 / 0.8115 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003095/0.6976, allocations: 154.6 kB / 0.8116 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.6976, allocations: 5.812 kB / 0.8116 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.6976, allocations: 1.562 kB / 0.8116 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-06/0.6976, allocations: 2.969 kB / 0.8116 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.6977, allocations: 24.08 kB / 0.8116 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.6978, allocations: 0 / 0.8116 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.6979, allocations: 21.2 kB / 0.8117 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.698, allocations: 2.938 kB / 0.8117 GB, free: 8.262 MB / 0.5919 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 8.986e-05/0.698, allocations: 190.6 kB / 0.8118 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.6981, allocations: 24.23 kB / 0.8119 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.6985, allocations: 165.8 kB / 0.812 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6985, allocations: 6.844 kB / 0.812 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6985, allocations: 3.984 kB / 0.812 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6985, allocations: 0 / 0.812 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/0.6993, allocations: 0.5912 MB / 0.8126 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6993, allocations: 2.156 kB / 0.8126 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.6994, allocations: 21.33 kB / 0.8126 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6994, allocations: 6.781 kB / 0.8126 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.6995, allocations: 2.5 kB / 0.8126 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6995, allocations: 7.656 kB / 0.8126 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6995, allocations: 2.438 kB / 0.8126 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.6998, allocations: 302.5 kB / 0.8129 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6999, allocations: 109.2 kB / 0.813 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.7, allocations: 6.734 kB / 0.813 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.7002, allocations: 14.02 kB / 0.8131 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.7002, allocations: 17.38 kB / 0.8131 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7003, allocations: 8.516 kB / 0.8131 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001515/0.7004, allocations: 197.4 kB / 0.8133 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7004, allocations: 0 / 0.8133 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004415/0.7009, allocations: 93.45 kB / 0.8134 GB, free: 7.039 MB / 0.5919 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.000832/0.7017, allocations: 0.8955 MB / 0.8142 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.7022, allocations: 171.5 kB / 0.8144 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7022, allocations: 0 / 0.8144 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.7023, allocations: 54.44 kB / 0.8145 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.703, allocations: 124.8 kB / 0.8146 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.7055, allocations: 2.36 MB / 0.8169 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.7058, allocations: 0.761 MB / 0.8176 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.706, allocations: 64.94 kB / 0.8177 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.7061, allocations: 65.33 kB / 0.8177 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.7061, allocations: 6.469 kB / 0.8177 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.73, allocations: 6.894 MB / 0.8245 GB, free: 268 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.673, allocations: 10.3 kB / 0.8245 GB, free: 260 kB / 0.5919 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)