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.001661/0.001661, allocations: 108 kB / 15.61 MB, free: 152 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.0019/0.0019, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9112/0.9112, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.03 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1368, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.3787/0.5155, allocations: 161.5 MB / 0.7422 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.5182, allocations: 1.702 MB / 0.7438 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.5184, allocations: 11.31 kB / 0.7439 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.5189, allocations: 163.5 kB / 0.744 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.5201, allocations: 0.508 MB / 0.7445 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.521, allocations: 412.6 kB / 0.7449 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.5217, allocations: 0.5696 MB / 0.7455 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.522, allocations: 181.5 kB / 0.7456 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.5225, allocations: 320.6 kB / 0.7459 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.5227, allocations: 148.7 kB / 0.7461 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.5228, allocations: 18.03 kB / 0.7461 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.5238, allocations: 0.6839 MB / 0.7468 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.5239, allocations: 86.58 kB / 0.7468 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.5241, allocations: 115.4 kB / 0.747 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.5247, allocations: 0.4909 MB / 0.7474 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5247, allocations: 0 / 0.7474 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5247, allocations: 0 / 0.7474 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.5248, allocations: 3.984 kB / 0.7474 GB, free: 4.141 MB / 0.5606 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.0007689/0.5255, allocations: 0.5858 MB / 0.748 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5256, allocations: 12.94 kB / 0.748 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.5256, allocations: 50.17 kB / 0.7481 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00032/0.526, allocations: 52.69 kB / 0.7481 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.5263, allocations: 291.9 kB / 0.7484 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.5263, allocations: 10.97 kB / 0.7484 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.5263, allocations: 21.56 kB / 0.7484 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.5267, allocations: 188.5 kB / 0.7486 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5267, allocations: 6.875 kB / 0.7486 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.5267, allocations: 4 kB / 0.7486 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5268, allocations: 2.906 kB / 0.7486 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.5271, allocations: 130.1 kB / 0.7487 GB, free: 3.031 MB / 0.5606 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.0009722/0.528, allocations: 0.7829 MB / 0.7495 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.5283, allocations: 86.66 kB / 0.7496 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.5284, allocations: 77.38 kB / 0.7497 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.5288, allocations: 188.4 kB / 0.7499 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.5288, allocations: 38.5 kB / 0.7499 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.5288, allocations: 4 kB / 0.7499 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006375/0.5294, allocations: 219.9 kB / 0.7501 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5295, allocations: 51.41 kB / 0.7501 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.5297, allocations: 267 kB / 0.7504 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.5298, allocations: 32.14 kB / 0.7504 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.5299, allocations: 150.2 kB / 0.7506 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.5299, allocations: 32.86 kB / 0.7506 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.53, allocations: 32.45 kB / 0.7506 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5301, allocations: 330.4 kB / 0.751 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.5302, allocations: 45.97 kB / 0.751 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.5304, allocations: 95.3 kB / 0.7511 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.5306, allocations: 117 kB / 0.7512 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5307, allocations: 2.562 kB / 0.7512 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003407/0.531, allocations: 165.4 kB / 0.7514 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.531, allocations: 16.83 kB / 0.7514 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.531, allocations: 0 / 0.7514 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5311, allocations: 2.938 kB / 0.7514 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5312, allocations: 19.3 kB / 0.7514 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5312, allocations: 2.938 kB / 0.7514 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.5314, allocations: 19.8 kB / 0.7514 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.5314, allocations: 4.719 kB / 0.7514 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001951/0.5316, allocations: 150.1 kB / 0.7516 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000172/0.5318, allocations: 94.88 kB / 0.7517 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002396/0.532, allocations: 117 kB / 0.7518 GB, free: 480 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.532, allocations: 0.75 kB / 0.7518 GB, free: 480 kB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003183/0.5324, allocations: 155.4 kB / 0.7519 GB, free: 388 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.5324, allocations: 4.938 kB / 0.7519 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.5324, allocations: 0 / 0.7519 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.5324, allocations: 7.094 kB / 0.7519 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.5325, allocations: 19.58 kB / 0.7519 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.5325, allocations: 6.531 kB / 0.752 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.5327, allocations: 27.77 kB / 0.752 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.5327, allocations: 14.83 kB / 0.752 GB, free: 348 kB / 0.5606 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.0001085/0.5328, allocations: 182.9 kB / 0.7522 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.5329, allocations: 25.91 kB / 0.7522 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.5332, allocations: 163.1 kB / 0.7524 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5333, allocations: 4 kB / 0.7524 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5333, allocations: 0 / 0.7524 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5333, allocations: 0 / 0.7524 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.5341, allocations: 0.5779 MB / 0.7529 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5341, allocations: 2.625 kB / 0.7529 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5343, allocations: 34.66 kB / 0.753 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5343, allocations: 0 / 0.753 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5343, allocations: 8.859 kB / 0.753 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5343, allocations: 2.469 kB / 0.753 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5343, allocations: 2.5 kB / 0.753 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.5347, allocations: 297.5 kB / 0.7533 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.5348, allocations: 117.8 kB / 0.7534 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.5348, allocations: 7.375 kB / 0.7534 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.535, allocations: 19.95 kB / 0.7534 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.5351, allocations: 16.92 kB / 0.7534 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5351, allocations: 5.531 kB / 0.7534 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001707/0.5353, allocations: 198.3 kB / 0.7536 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5353, allocations: 0 / 0.7536 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004531/0.5358, allocations: 98.45 kB / 0.7537 GB, free: 14.94 MB / 0.5762 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.0008447/0.5366, allocations: 0.8827 MB / 0.7546 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.5371, allocations: 171.7 kB / 0.7547 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5371, allocations: 0 / 0.7547 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.5372, allocations: 67.95 kB / 0.7548 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.538, allocations: 123.8 kB / 0.7549 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.5407, allocations: 2.357 MB / 0.7572 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.541, allocations: 0.7519 MB / 0.7579 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.5413, allocations: 70.75 kB / 0.758 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5414, allocations: 71.41 kB / 0.7581 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.5414, allocations: 0 / 0.7581 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.565, allocations: 6.814 MB / 0.7647 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.924, allocations: 19.3 kB / 0.7647 GB, free: 3.812 MB / 0.5762 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)