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.005399/0.005399, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001233/0.001233, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7901/0.7901, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5115/0.6639, allocations: 161.5 MB / 0.8169 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.6666, allocations: 1.703 MB / 0.8186 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.6668, allocations: 10.47 kB / 0.8186 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.6674, allocations: 155.9 kB / 0.8187 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.6685, allocations: 0.5183 MB / 0.8192 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008996/0.6694, allocations: 422.1 kB / 0.8196 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.67, allocations: 0.5694 MB / 0.8202 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.6703, allocations: 180.4 kB / 0.8204 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.6709, allocations: 321.5 kB / 0.8207 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.6711, allocations: 146.2 kB / 0.8208 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.6711, allocations: 16.88 kB / 0.8208 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009925/0.6721, allocations: 0.6947 MB / 0.8215 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.6722, allocations: 77.52 kB / 0.8216 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.6723, allocations: 128.1 kB / 0.8217 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.673, allocations: 0.494 MB / 0.8222 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.673, allocations: 0 / 0.8222 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.673, allocations: 0.875 kB / 0.8222 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.6731, allocations: 0 / 0.8222 GB, free: 7.012 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.0008207/0.6739, allocations: 0.5968 MB / 0.8228 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6739, allocations: 14.19 kB / 0.8228 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.674, allocations: 43.72 kB / 0.8228 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.6743, allocations: 63.03 kB / 0.8229 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.6747, allocations: 299.5 kB / 0.8232 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.6748, allocations: 17.08 kB / 0.8232 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.6748, allocations: 14.88 kB / 0.8232 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.6752, allocations: 188 kB / 0.8234 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6752, allocations: 6.844 kB / 0.8234 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.6752, allocations: 4 kB / 0.8234 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.6752, allocations: 5.125 kB / 0.8234 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.6755, allocations: 131.7 kB / 0.8235 GB, free: 5.875 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.0009782/0.6765, allocations: 0.7827 MB / 0.8243 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.6767, allocations: 84.31 kB / 0.8244 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.6769, allocations: 73.22 kB / 0.8244 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.6772, allocations: 196.9 kB / 0.8246 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.6772, allocations: 38.5 kB / 0.8247 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.6772, allocations: 0 / 0.8247 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000629/0.6779, allocations: 215.1 kB / 0.8249 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.6779, allocations: 53.94 kB / 0.8249 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.6782, allocations: 269.7 kB / 0.8252 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.6782, allocations: 36.27 kB / 0.8252 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.6783, allocations: 144.2 kB / 0.8253 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.6783, allocations: 33.05 kB / 0.8254 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.6784, allocations: 31.7 kB / 0.8254 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6786, allocations: 331.9 kB / 0.8257 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.6787, allocations: 47.36 kB / 0.8258 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.6789, allocations: 93.95 kB / 0.8259 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.6791, allocations: 119.8 kB / 0.826 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6791, allocations: 0 / 0.826 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003254/0.6795, allocations: 165.3 kB / 0.8261 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.6795, allocations: 9.219 kB / 0.8261 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6795, allocations: 6.672 kB / 0.8261 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.6795, allocations: 0 / 0.8261 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.6796, allocations: 21.52 kB / 0.8262 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.6796, allocations: 4.547 kB / 0.8262 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.6798, allocations: 20.53 kB / 0.8262 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.6798, allocations: 13.28 kB / 0.8262 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001929/0.68, allocations: 147.4 kB / 0.8263 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001508/0.6802, allocations: 93.23 kB / 0.8264 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002343/0.6804, allocations: 121.7 kB / 0.8265 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.6804, allocations: 0 / 0.8265 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003056/0.6808, allocations: 153.1 kB / 0.8267 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-06/0.6808, allocations: 5.688 kB / 0.8267 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.6808, allocations: 3.938 kB / 0.8267 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-06/0.6808, allocations: 2.094 kB / 0.8267 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.6809, allocations: 30.8 kB / 0.8267 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-06/0.6809, allocations: 0 / 0.8267 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.6811, allocations: 19.61 kB / 0.8268 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.6811, allocations: 5 kB / 0.8268 GB, free: 3.195 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.0001127/0.6812, allocations: 185.1 kB / 0.8269 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.6813, allocations: 30.2 kB / 0.827 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.6816, allocations: 167.7 kB / 0.8271 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6816, allocations: 2.062 kB / 0.8271 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6816, allocations: 0 / 0.8271 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6816, allocations: 3.219 kB / 0.8271 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008393/0.6825, allocations: 0.5919 MB / 0.8277 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6825, allocations: 3.875 kB / 0.8277 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.6826, allocations: 23.02 kB / 0.8277 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6826, allocations: 5.281 kB / 0.8277 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.6826, allocations: 2.688 kB / 0.8277 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6826, allocations: 0 / 0.8277 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6827, allocations: 10.11 kB / 0.8277 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.683, allocations: 305 kB / 0.828 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6832, allocations: 115.7 kB / 0.8282 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.6832, allocations: 2.688 kB / 0.8282 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.6834, allocations: 15.7 kB / 0.8282 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.6834, allocations: 12.77 kB / 0.8282 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6834, allocations: 6.781 kB / 0.8282 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001722/0.6836, allocations: 200.9 kB / 0.8284 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6836, allocations: 0 / 0.8284 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003978/0.684, allocations: 97.48 kB / 0.8285 GB, free: 1.777 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.0009326/0.685, allocations: 0.8958 MB / 0.8293 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.6854, allocations: 165.6 kB / 0.8295 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6854, allocations: 0 / 0.8295 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.6856, allocations: 63.11 kB / 0.8296 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.6862, allocations: 114.2 kB / 0.8297 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.6889, allocations: 2.353 MB / 0.832 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.6893, allocations: 0.7537 MB / 0.8327 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000171/0.6894, allocations: 63.86 kB / 0.8328 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.6895, allocations: 80.16 kB / 0.8328 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6896, allocations: 0 / 0.8328 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3766/1.066, allocations: 6.896 MB / 0.8396 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/9.395, allocations: 5.328 kB / 0.8396 GB, free: 10.66 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)