Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_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.007239/0.00724, allocations: 94.98 kB / 15.73 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.001923/0.001923, allocations: 200.2 kB / 16.68 MB, free: 5.969 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9565/0.9565, allocations: 135.5 MB / 426.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3826, allocations: 81.01 MB / 0.6648 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1841/0.5668, allocations: 161.5 MB / 0.8226 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003279/0.5701, allocations: 1.714 MB / 0.8243 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.5705, allocations: 11.94 kB / 0.8243 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.5711, allocations: 154.9 kB / 0.8244 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.5723, allocations: 0.5056 MB / 0.8249 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.5735, allocations: 439 kB / 0.8253 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007914/0.5743, allocations: 0.5693 MB / 0.8259 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.5746, allocations: 172.5 kB / 0.826 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.5752, allocations: 318.7 kB / 0.8264 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.5754, allocations: 151.3 kB / 0.8265 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.5755, allocations: 12 kB / 0.8265 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.5767, allocations: 0.6976 MB / 0.8272 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.5769, allocations: 83.66 kB / 0.8273 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.577, allocations: 111.4 kB / 0.8274 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.5778, allocations: 0.5072 MB / 0.8279 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5778, allocations: 0 / 0.8279 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5778, allocations: 0 / 0.8279 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5778, allocations: 0 / 0.8279 GB, free: 9.387 MB / 0.6544 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.0008826/0.5787, allocations: 0.5911 MB / 0.8284 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5788, allocations: 8.031 kB / 0.8285 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.5788, allocations: 46.55 kB / 0.8285 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.5791, allocations: 55.77 kB / 0.8286 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.5797, allocations: 313.5 kB / 0.8289 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.5797, allocations: 11.98 kB / 0.8289 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.5797, allocations: 16 kB / 0.8289 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.5801, allocations: 197.4 kB / 0.8291 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5801, allocations: 0 / 0.8291 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.5801, allocations: 4 kB / 0.8291 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5802, allocations: 15.88 kB / 0.8291 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.5805, allocations: 127.8 kB / 0.8292 GB, free: 7.902 MB / 0.6544 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.001047/0.5815, allocations: 0.7733 MB / 0.83 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.5818, allocations: 82.47 kB / 0.83 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.582, allocations: 76.86 kB / 0.8301 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.5823, allocations: 194.1 kB / 0.8303 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.5823, allocations: 38.55 kB / 0.8303 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.5823, allocations: 0 / 0.8303 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006737/0.583, allocations: 217.6 kB / 0.8305 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5831, allocations: 55.41 kB / 0.8306 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.5834, allocations: 271 kB / 0.8309 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.5834, allocations: 25.8 kB / 0.8309 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.5835, allocations: 147.9 kB / 0.831 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.5836, allocations: 35.69 kB / 0.8311 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.5836, allocations: 29.72 kB / 0.8311 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5838, allocations: 334.8 kB / 0.8314 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.5839, allocations: 52.77 kB / 0.8315 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.5841, allocations: 93.09 kB / 0.8315 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.5844, allocations: 123.3 kB / 0.8317 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5844, allocations: 0 / 0.8317 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003527/0.5848, allocations: 161.3 kB / 0.8318 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5848, allocations: 4 kB / 0.8318 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5848, allocations: 0 / 0.8318 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5848, allocations: 4 kB / 0.8318 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.585, allocations: 23.92 kB / 0.8318 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.585, allocations: 0 / 0.8318 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.5852, allocations: 31.89 kB / 0.8319 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.5852, allocations: 4 kB / 0.8319 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002108/0.5854, allocations: 144.8 kB / 0.832 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001702/0.5856, allocations: 89.11 kB / 0.8321 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000252/0.5859, allocations: 127.4 kB / 0.8322 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.5859, allocations: 0 / 0.8322 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003328/0.5862, allocations: 153.4 kB / 0.8324 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.5862, allocations: 10.91 kB / 0.8324 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.5862, allocations: 4 kB / 0.8324 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-06/0.5862, allocations: 4.031 kB / 0.8324 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.5864, allocations: 31.86 kB / 0.8324 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.5864, allocations: 0 / 0.8324 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.5865, allocations: 15.98 kB / 0.8324 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.5865, allocations: 4 kB / 0.8324 GB, free: 4.344 MB / 0.6544 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.0001347/0.5867, allocations: 192.2 kB / 0.8326 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.5867, allocations: 27.75 kB / 0.8326 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.5871, allocations: 171.6 kB / 0.8328 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5871, allocations: 0 / 0.8328 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.5872, allocations: 3.984 kB / 0.8328 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5872, allocations: 0 / 0.8328 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009268/0.5881, allocations: 0.5899 MB / 0.8334 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5881, allocations: 4 kB / 0.8334 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.5882, allocations: 19.98 kB / 0.8334 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5882, allocations: 4 kB / 0.8334 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5883, allocations: 352 / 0.8334 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.5883, allocations: 12 kB / 0.8334 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.5883, allocations: 11.88 kB / 0.8334 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.5887, allocations: 293.3 kB / 0.8337 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.5888, allocations: 113.1 kB / 0.8338 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.5889, allocations: 7.984 kB / 0.8338 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.589, allocations: 15.98 kB / 0.8338 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.5891, allocations: 15.92 kB / 0.8339 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.5891, allocations: 7.984 kB / 0.8339 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001952/0.5893, allocations: 194 kB / 0.8341 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5893, allocations: 0 / 0.8341 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000446/0.5898, allocations: 95.83 kB / 0.8341 GB, free: 2.438 MB / 0.6544 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.0009875/0.5908, allocations: 0.8969 MB / 0.835 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.5913, allocations: 171.7 kB / 0.8352 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5913, allocations: 0 / 0.8352 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.5914, allocations: 59.91 kB / 0.8352 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.5922, allocations: 125 kB / 0.8354 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.5952, allocations: 2.355 MB / 0.8377 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.5957, allocations: 0.7558 MB / 0.8384 GB, free: 13.88 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.5959, allocations: 65.89 kB / 0.8385 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.596, allocations: 71.42 kB / 0.8385 GB, free: 13.75 MB / 0.67 GB Notification: Performance of SimCode: time 2.3e-07/0.5961, allocations: 0 / 0.8385 GB, free: 13.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.6261, allocations: 6.887 MB / 0.8453 GB, free: 7.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.794/9.42, allocations: 11.98 kB / 0.8453 GB, free: 7.008 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)