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.0009796/0.0009797, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001023/0.001023, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8102/0.8102, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.000268, allocations: 8.625 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 82.32 MB / 0.5873 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.309/0.4216, allocations: 135.6 MB / 0.7197 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.4237, allocations: 1.615 MB / 0.7213 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.4239, allocations: 12.19 kB / 0.7213 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.4243, allocations: 179.1 kB / 0.7215 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009234/0.4253, allocations: 491.9 kB / 0.7219 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.4261, allocations: 441.7 kB / 0.7224 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000452/0.4266, allocations: 356 kB / 0.7227 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.4268, allocations: 143.7 kB / 0.7228 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.4272, allocations: 215.3 kB / 0.723 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.4273, allocations: 113.5 kB / 0.7231 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.4273, allocations: 6.812 kB / 0.7231 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005872/0.4279, allocations: 385.2 kB / 0.7235 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.241e-05/0.428, allocations: 65.16 kB / 0.7236 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.4281, allocations: 69.22 kB / 0.7236 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.4284, allocations: 279.9 kB / 0.7239 GB, free: 9.527 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.4284, allocations: 3.938 kB / 0.7239 GB, free: 9.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4284, allocations: 1.094 kB / 0.7239 GB, free: 9.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.4285, allocations: 0 / 0.7239 GB, free: 9.523 MB / 0.545 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.0005816/0.429, allocations: 0.5257 MB / 0.7244 GB, free: 9.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.4291, allocations: 9.641 kB / 0.7244 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.4291, allocations: 48.69 kB / 0.7245 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.4294, allocations: 61.84 kB / 0.7245 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.4297, allocations: 281.9 kB / 0.7248 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4297, allocations: 11.34 kB / 0.7248 GB, free: 8.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.4298, allocations: 13.41 kB / 0.7248 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.4301, allocations: 200.7 kB / 0.725 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4301, allocations: 1.062 kB / 0.725 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4301, allocations: 10.11 kB / 0.725 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4301, allocations: 4.438 kB / 0.725 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.4304, allocations: 137.8 kB / 0.7252 GB, free: 8.578 MB / 0.545 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.0008323/0.4313, allocations: 0.7799 MB / 0.7259 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.4315, allocations: 105.4 kB / 0.726 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.4315, allocations: 7.203 kB / 0.726 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.4315, allocations: 34.56 kB / 0.7261 GB, free: 7.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4316, allocations: 0 / 0.7261 GB, free: 7.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005651/0.4321, allocations: 231.8 kB / 0.7263 GB, free: 7.781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.4322, allocations: 52.2 kB / 0.7263 GB, free: 7.719 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.4324, allocations: 266.7 kB / 0.7266 GB, free: 7.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4324, allocations: 33.7 kB / 0.7266 GB, free: 7.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.4325, allocations: 139.1 kB / 0.7268 GB, free: 7.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.4325, allocations: 38.91 kB / 0.7268 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.4325, allocations: 0 / 0.7268 GB, free: 7.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.4326, allocations: 332.8 kB / 0.7271 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.4327, allocations: 46.53 kB / 0.7272 GB, free: 7.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4329, allocations: 103.9 kB / 0.7273 GB, free: 6.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.433, allocations: 58.88 kB / 0.7273 GB, free: 6.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.433, allocations: 5.125 kB / 0.7273 GB, free: 6.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002981/0.4333, allocations: 167.9 kB / 0.7275 GB, free: 6.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/0.4334, allocations: 360.3 kB / 0.7278 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4334, allocations: 5.25 kB / 0.7278 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.4334, allocations: 3.031 kB / 0.7278 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.4336, allocations: 30.69 kB / 0.7279 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4336, allocations: 6.297 kB / 0.7279 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.4337, allocations: 16.91 kB / 0.7279 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.4338, allocations: 5.25 kB / 0.7279 GB, free: 6.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.4338, allocations: 3.688 kB / 0.7279 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000249/0.434, allocations: 121.7 kB / 0.728 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-06/0.434, allocations: 1.312 kB / 0.728 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.434, allocations: 2.125 kB / 0.728 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.4341, allocations: 22.95 kB / 0.728 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.4342, allocations: 2.078 kB / 0.728 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.4343, allocations: 33.25 kB / 0.7281 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.4343, allocations: 4.766 kB / 0.7281 GB, free: 6.445 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.4345, allocations: 217.5 kB / 0.7283 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.4345, allocations: 22.03 kB / 0.7283 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.4348, allocations: 174.1 kB / 0.7285 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4348, allocations: 2.516 kB / 0.7285 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4348, allocations: 0 / 0.7285 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.4348, allocations: 0.6562 kB / 0.7285 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.4356, allocations: 0.6042 MB / 0.7291 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4356, allocations: 2.031 kB / 0.7291 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.4357, allocations: 28.83 kB / 0.7291 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.4357, allocations: 2.75 kB / 0.7291 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4358, allocations: 7.359 kB / 0.7291 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4358, allocations: 7.344 kB / 0.7291 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4358, allocations: 1.375 kB / 0.7291 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.4361, allocations: 389.2 kB / 0.7295 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.4362, allocations: 114.7 kB / 0.7296 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.4363, allocations: 11.62 kB / 0.7296 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4365, allocations: 23.69 kB / 0.7296 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.4365, allocations: 16.86 kB / 0.7296 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4365, allocations: 6.062 kB / 0.7296 GB, free: 5.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001504/0.4367, allocations: 198.5 kB / 0.7298 GB, free: 5.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4367, allocations: 0 / 0.7298 GB, free: 5.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003848/0.4371, allocations: 90.89 kB / 0.7299 GB, free: 5.066 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008275/0.4379, allocations: 1.466 MB / 0.7314 GB, free: 3.688 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.4383, allocations: 172.8 kB / 0.7315 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4383, allocations: 5.062 kB / 0.7315 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.4385, allocations: 67.03 kB / 0.7316 GB, free: 3.629 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.4391, allocations: 132.9 kB / 0.7317 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.4408, allocations: 1.761 MB / 0.7334 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.4411, allocations: 0.7627 MB / 0.7342 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001895/0.4413, allocations: 68.31 kB / 0.7342 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.4414, allocations: 70.95 kB / 0.7343 GB, free: 1.629 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4414, allocations: 4 kB / 0.7343 GB, free: 1.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4954/0.9367, allocations: 6.533 MB / 0.7407 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.937, allocations: 211.4 kB / 0.7409 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/3.902, allocations: 3.938 kB / 0.7409 GB, free: 14.74 MB / 0.5606 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/linux/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) Environment - environmentSimulation: