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.005335/0.005335, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001124/0.001124, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.802/0.802, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.75 kB / 0.5851 GB, free: 22.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1664, allocations: 80.92 MB / 0.6641 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5423/0.7087, allocations: 161.5 MB / 0.8219 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003811/0.7126, allocations: 1.705 MB / 0.8235 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000716/0.7133, allocations: 11.12 kB / 0.8236 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008209/0.7142, allocations: 161.4 kB / 0.8237 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.7161, allocations: 0.5397 MB / 0.8242 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.7174, allocations: 423.9 kB / 0.8246 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.7183, allocations: 0.5665 MB / 0.8252 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.7187, allocations: 181.6 kB / 0.8254 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007591/0.7195, allocations: 329.3 kB / 0.8257 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.7197, allocations: 157.7 kB / 0.8258 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.7198, allocations: 12.78 kB / 0.8258 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.7209, allocations: 0.6951 MB / 0.8265 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.7211, allocations: 87.44 kB / 0.8266 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.7212, allocations: 113.9 kB / 0.8267 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000815/0.7221, allocations: 0.5026 MB / 0.8272 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7221, allocations: 0 / 0.8272 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7221, allocations: 4 kB / 0.8272 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.7221, allocations: 0 / 0.8272 GB, free: 1.285 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.0009251/0.723, allocations: 0.5834 MB / 0.8278 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.7231, allocations: 8.578 kB / 0.8278 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.7231, allocations: 47.36 kB / 0.8278 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/0.7235, allocations: 57.09 kB / 0.8279 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.724, allocations: 304.2 kB / 0.8282 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.724, allocations: 8.875 kB / 0.8282 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.7241, allocations: 18.14 kB / 0.8282 GB, free: 376 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.7245, allocations: 202.5 kB / 0.8284 GB, free: 228 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7245, allocations: 2.688 kB / 0.8284 GB, free: 228 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.7245, allocations: 4 kB / 0.8284 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.7245, allocations: 4.562 kB / 0.8284 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.7248, allocations: 126.4 kB / 0.8285 GB, free: 168 kB / 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.001084/0.7259, allocations: 0.7769 MB / 0.8293 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.7262, allocations: 84.09 kB / 0.8294 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.7263, allocations: 81.33 kB / 0.8294 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.7266, allocations: 188.8 kB / 0.8296 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.7267, allocations: 34.5 kB / 0.8297 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.7267, allocations: 0 / 0.8297 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006227/0.7273, allocations: 217.5 kB / 0.8299 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.7274, allocations: 55.41 kB / 0.8299 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.7276, allocations: 268.1 kB / 0.8302 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.7276, allocations: 29.73 kB / 0.8302 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.7278, allocations: 152.2 kB / 0.8303 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.7278, allocations: 32.17 kB / 0.8304 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.7279, allocations: 32.12 kB / 0.8304 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.728, allocations: 335.9 kB / 0.8307 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.7281, allocations: 51.09 kB / 0.8308 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.7283, allocations: 94.48 kB / 0.8309 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.7285, allocations: 130 kB / 0.831 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7285, allocations: 0 / 0.831 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003082/0.7288, allocations: 149.3 kB / 0.8311 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7289, allocations: 10.78 kB / 0.8311 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7289, allocations: 0 / 0.8311 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7289, allocations: 6.906 kB / 0.8311 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.729, allocations: 19.45 kB / 0.8312 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.7291, allocations: 10.02 kB / 0.8312 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.7292, allocations: 15.86 kB / 0.8312 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.7293, allocations: 5.062 kB / 0.8312 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001938/0.7295, allocations: 147.2 kB / 0.8313 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001446/0.7296, allocations: 93.58 kB / 0.8314 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002287/0.7299, allocations: 117.4 kB / 0.8315 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.7299, allocations: 0 / 0.8315 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002943/0.7302, allocations: 162 kB / 0.8317 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.7302, allocations: 5.125 kB / 0.8317 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.7302, allocations: 3.938 kB / 0.8317 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-06/0.7302, allocations: 2.75 kB / 0.8317 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.7303, allocations: 27.08 kB / 0.8317 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.7303, allocations: 2.312 kB / 0.8317 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.7305, allocations: 15.39 kB / 0.8317 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.7305, allocations: 6.688 kB / 0.8318 GB, free: 13.49 MB / 0.6075 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.0001132/0.7306, allocations: 189.5 kB / 0.8319 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.7307, allocations: 29.2 kB / 0.832 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.731, allocations: 164.5 kB / 0.8321 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.731, allocations: 2.75 kB / 0.8321 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.731, allocations: 0 / 0.8321 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.731, allocations: 0 / 0.8321 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008191/0.7319, allocations: 0.5925 MB / 0.8327 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7319, allocations: 2.688 kB / 0.8327 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.732, allocations: 25.95 kB / 0.8327 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.732, allocations: 2.094 kB / 0.8327 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.732, allocations: 2.844 kB / 0.8327 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.732, allocations: 8.391 kB / 0.8327 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.732, allocations: 6.125 kB / 0.8327 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.7324, allocations: 292.3 kB / 0.833 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.703e-05/0.7325, allocations: 117.2 kB / 0.8331 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.7325, allocations: 5.438 kB / 0.8331 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.7327, allocations: 17.52 kB / 0.8332 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.7328, allocations: 12.95 kB / 0.8332 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.7328, allocations: 4.688 kB / 0.8332 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001589/0.733, allocations: 194.8 kB / 0.8334 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.733, allocations: 0 / 0.8334 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004604/0.7334, allocations: 93.03 kB / 0.8334 GB, free: 12.09 MB / 0.6075 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.0009081/0.7343, allocations: 0.9014 MB / 0.8343 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.7348, allocations: 162.5 kB / 0.8345 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7348, allocations: 0 / 0.8345 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.7349, allocations: 71.02 kB / 0.8346 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.7356, allocations: 112.5 kB / 0.8347 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.7383, allocations: 2.344 MB / 0.8369 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.7387, allocations: 0.754 MB / 0.8377 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.7389, allocations: 75.98 kB / 0.8378 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.739, allocations: 72.3 kB / 0.8378 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.739, allocations: 0 / 0.8378 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.7627, allocations: 6.891 MB / 0.8446 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.612, allocations: 4.531 kB / 0.8446 GB, free: 4.953 MB / 0.6075 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)