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.001733/0.001733, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 198 kB / 16.67 MB, free: 6.582 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9917/0.9917, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3473, allocations: 81.02 MB / 0.6648 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1848/0.5322, allocations: 161.5 MB / 0.8226 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.5353, allocations: 1.7 MB / 0.8242 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.5356, allocations: 11.88 kB / 0.8243 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.5361, allocations: 163 kB / 0.8244 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.5374, allocations: 0.5095 MB / 0.8249 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.5385, allocations: 428.3 kB / 0.8253 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007829/0.5393, allocations: 0.5654 MB / 0.8259 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.5396, allocations: 172.5 kB / 0.826 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.5402, allocations: 326.7 kB / 0.8263 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.5404, allocations: 155.3 kB / 0.8265 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.5405, allocations: 16 kB / 0.8265 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.5416, allocations: 0.6898 MB / 0.8272 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.5418, allocations: 83.66 kB / 0.8273 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.5419, allocations: 119.3 kB / 0.8274 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.5427, allocations: 0.4956 MB / 0.8279 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5427, allocations: 0 / 0.8279 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5427, allocations: 8 kB / 0.8279 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5427, allocations: 0 / 0.8279 GB, free: 9.348 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.0008617/0.5436, allocations: 0.591 MB / 0.8284 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5436, allocations: 12.03 kB / 0.8285 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.5437, allocations: 42.56 kB / 0.8285 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/0.544, allocations: 59.75 kB / 0.8286 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.5445, allocations: 305.5 kB / 0.8288 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5445, allocations: 15.98 kB / 0.8289 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.5446, allocations: 12 kB / 0.8289 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.545, allocations: 193.5 kB / 0.8291 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.545, allocations: 3.938 kB / 0.8291 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.545, allocations: 8 kB / 0.8291 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.545, allocations: 7.938 kB / 0.8291 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.5454, allocations: 127.8 kB / 0.8292 GB, free: 7.871 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.001106/0.5465, allocations: 0.7733 MB / 0.83 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.5468, allocations: 82.53 kB / 0.83 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.547, allocations: 72.88 kB / 0.8301 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.5473, allocations: 198.1 kB / 0.8303 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5473, allocations: 34.5 kB / 0.8303 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.5473, allocations: 0 / 0.8303 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0007188/0.548, allocations: 221.3 kB / 0.8305 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.5481, allocations: 55.41 kB / 0.8306 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.5484, allocations: 267 kB / 0.8308 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.5484, allocations: 33.69 kB / 0.8309 GB, free: 6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.5486, allocations: 144 kB / 0.831 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.5486, allocations: 35.69 kB / 0.831 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.5487, allocations: 29.7 kB / 0.8311 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5489, allocations: 339.2 kB / 0.8314 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.549, allocations: 44.83 kB / 0.8314 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.5492, allocations: 93.05 kB / 0.8315 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.5495, allocations: 127.3 kB / 0.8316 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5495, allocations: 0 / 0.8316 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003807/0.5499, allocations: 165.3 kB / 0.8318 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5499, allocations: 8 kB / 0.8318 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5499, allocations: 0 / 0.8318 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.55, allocations: 32 / 0.8318 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.5501, allocations: 27.98 kB / 0.8318 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5501, allocations: 0 / 0.8318 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.5503, allocations: 27.94 kB / 0.8319 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.5503, allocations: 4 kB / 0.8319 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002251/0.5506, allocations: 152.7 kB / 0.832 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001761/0.5507, allocations: 93.05 kB / 0.8321 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000274/0.551, allocations: 115.3 kB / 0.8322 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.399e-06/0.551, allocations: 3.984 kB / 0.8322 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003478/0.5514, allocations: 153.7 kB / 0.8324 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5514, allocations: 11.94 kB / 0.8324 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.5514, allocations: 3.938 kB / 0.8324 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-06/0.5514, allocations: 4 kB / 0.8324 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5516, allocations: 19.98 kB / 0.8324 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-06/0.5516, allocations: 0 / 0.8324 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.5517, allocations: 19.95 kB / 0.8324 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.5518, allocations: 8 kB / 0.8324 GB, free: 4.305 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.0001193/0.5519, allocations: 200.1 kB / 0.8326 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.552, allocations: 31.75 kB / 0.8327 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.5524, allocations: 155.3 kB / 0.8328 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.5524, allocations: 4.469 kB / 0.8328 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5524, allocations: 0 / 0.8328 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5524, allocations: 0 / 0.8328 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009918/0.5534, allocations: 0.586 MB / 0.8334 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5534, allocations: 0 / 0.8334 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.5535, allocations: 36.08 kB / 0.8334 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5535, allocations: 0 / 0.8334 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.5536, allocations: 8 kB / 0.8334 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5536, allocations: 4 kB / 0.8334 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5536, allocations: 3.938 kB / 0.8334 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.554, allocations: 293.3 kB / 0.8337 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.5541, allocations: 112.9 kB / 0.8338 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.5542, allocations: 8 kB / 0.8338 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.5544, allocations: 11.98 kB / 0.8338 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.5545, allocations: 19.86 kB / 0.8339 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.5545, allocations: 8 kB / 0.8339 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002033/0.5547, allocations: 193.9 kB / 0.834 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5547, allocations: 0 / 0.834 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004793/0.5552, allocations: 95.83 kB / 0.8341 GB, free: 2.406 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.001052/0.5562, allocations: 0.9034 MB / 0.835 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.5567, allocations: 163.9 kB / 0.8352 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5568, allocations: 0 / 0.8352 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.5569, allocations: 72.08 kB / 0.8352 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.5577, allocations: 117.9 kB / 0.8354 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.5608, allocations: 2.347 MB / 0.8376 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.5612, allocations: 0.7558 MB / 0.8384 GB, free: 13.86 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.5614, allocations: 70.53 kB / 0.8385 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5616, allocations: 71.41 kB / 0.8385 GB, free: 13.71 MB / 0.67 GB Notification: Performance of SimCode: time 2.71e-07/0.5616, allocations: 0 / 0.8385 GB, free: 13.71 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.5918, allocations: 6.886 MB / 0.8452 GB, free: 6.988 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.726, allocations: 7.266 kB / 0.8453 GB, free: 6.984 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)