Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_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.005594/0.005594, allocations: 104.1 kB / 15.74 MB, free: 6.039 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.00134/0.00134, allocations: 196.5 kB / 16.67 MB, free: 5.957 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7734/0.7734, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.12 kB / 0.5808 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5398/0.6944, allocations: 161.5 MB / 0.8169 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003123/0.6976, allocations: 1.702 MB / 0.8186 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005209/0.6981, allocations: 15.41 kB / 0.8186 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.6988, allocations: 154.7 kB / 0.8187 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.7004, allocations: 0.5177 MB / 0.8192 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.7017, allocations: 429 kB / 0.8196 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008974/0.7026, allocations: 0.5665 MB / 0.8202 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.703, allocations: 176 kB / 0.8204 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007318/0.7037, allocations: 322.3 kB / 0.8207 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.704, allocations: 157.9 kB / 0.8208 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.7041, allocations: 12.41 kB / 0.8208 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.7053, allocations: 0.6928 MB / 0.8215 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.7054, allocations: 83.09 kB / 0.8216 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.7056, allocations: 118.3 kB / 0.8217 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000895/0.7065, allocations: 0.4976 MB / 0.8222 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.7065, allocations: 0 / 0.8222 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7065, allocations: 7.875 kB / 0.8222 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.7065, allocations: 0 / 0.8222 GB, free: 6.988 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.0009654/0.7075, allocations: 0.5817 MB / 0.8228 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.7076, allocations: 10.59 kB / 0.8228 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.7076, allocations: 52.36 kB / 0.8228 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.708, allocations: 56.36 kB / 0.8229 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.7085, allocations: 306.6 kB / 0.8232 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.7085, allocations: 13.39 kB / 0.8232 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.7085, allocations: 14.25 kB / 0.8232 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.7089, allocations: 194 kB / 0.8234 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.7089, allocations: 4 kB / 0.8234 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.7089, allocations: 7.938 kB / 0.8234 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.709, allocations: 9.25 kB / 0.8234 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.7093, allocations: 129.1 kB / 0.8235 GB, free: 5.855 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.00106/0.7103, allocations: 0.7764 MB / 0.8243 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.7106, allocations: 82.78 kB / 0.8244 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.7107, allocations: 71.78 kB / 0.8244 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.711, allocations: 195.3 kB / 0.8246 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.7111, allocations: 41.03 kB / 0.8247 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.7111, allocations: 0 / 0.8247 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006584/0.7117, allocations: 219.9 kB / 0.8249 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.7118, allocations: 51.41 kB / 0.8249 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.712, allocations: 268 kB / 0.8252 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.7121, allocations: 29.7 kB / 0.8252 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.7122, allocations: 144.7 kB / 0.8253 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.7122, allocations: 35.98 kB / 0.8254 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.7123, allocations: 27.73 kB / 0.8254 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7124, allocations: 332.5 kB / 0.8257 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.7125, allocations: 51.25 kB / 0.8258 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.7127, allocations: 96.67 kB / 0.8259 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.7129, allocations: 121.5 kB / 0.826 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.7129, allocations: 0 / 0.826 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003458/0.7133, allocations: 161.3 kB / 0.8261 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.7133, allocations: 14.77 kB / 0.8261 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7133, allocations: 0 / 0.8261 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7134, allocations: 2.906 kB / 0.8261 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.7135, allocations: 18.98 kB / 0.8262 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7135, allocations: 6.938 kB / 0.8262 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.7137, allocations: 15.52 kB / 0.8262 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.7137, allocations: 4.75 kB / 0.8262 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001901/0.7139, allocations: 147.3 kB / 0.8263 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001502/0.7141, allocations: 97.69 kB / 0.8264 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002287/0.7143, allocations: 113.2 kB / 0.8265 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.7143, allocations: 0 / 0.8265 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003049/0.7146, allocations: 156.9 kB / 0.8267 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.7147, allocations: 11.38 kB / 0.8267 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7147, allocations: 3.938 kB / 0.8267 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-06/0.7147, allocations: 6.938 kB / 0.8267 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.7148, allocations: 18.83 kB / 0.8267 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.7148, allocations: 6.125 kB / 0.8267 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.715, allocations: 19.83 kB / 0.8267 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.715, allocations: 8.703 kB / 0.8267 GB, free: 3.188 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 0.0001135/0.7151, allocations: 182.8 kB / 0.8269 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.7152, allocations: 32.69 kB / 0.827 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.7155, allocations: 159.6 kB / 0.8271 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7155, allocations: 288 / 0.8271 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7155, allocations: 3 kB / 0.8271 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7155, allocations: 0 / 0.8271 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008818/0.7164, allocations: 0.585 MB / 0.8277 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7165, allocations: 3.688 kB / 0.8277 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.7166, allocations: 29.22 kB / 0.8277 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7166, allocations: 6.625 kB / 0.8277 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.7166, allocations: 7.594 kB / 0.8277 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7166, allocations: 2.75 kB / 0.8277 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7166, allocations: 6.469 kB / 0.8277 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.717, allocations: 291.4 kB / 0.828 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.7171, allocations: 121.4 kB / 0.8281 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.7172, allocations: 6.406 kB / 0.8281 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.7174, allocations: 11.67 kB / 0.8281 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.7174, allocations: 20.36 kB / 0.8282 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.7174, allocations: 6.5 kB / 0.8282 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001703/0.7176, allocations: 193.8 kB / 0.8284 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7176, allocations: 0 / 0.8284 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004424/0.7181, allocations: 97.14 kB / 0.8284 GB, free: 1.781 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.000907/0.719, allocations: 0.8837 MB / 0.8293 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.7194, allocations: 167 kB / 0.8295 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7194, allocations: 0 / 0.8295 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.7196, allocations: 71.58 kB / 0.8295 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/0.7203, allocations: 122.6 kB / 0.8297 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.7232, allocations: 2.335 MB / 0.8319 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.7235, allocations: 0.7585 MB / 0.8327 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.7237, allocations: 65.11 kB / 0.8327 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.7238, allocations: 74.56 kB / 0.8328 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.7238, allocations: 0 / 0.8328 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.7501, allocations: 6.992 MB / 0.8396 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.993, allocations: 6.484 kB / 0.8396 GB, free: 10.61 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)