Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",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.004506/0.004506, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.0011/0.0011, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.306/1.306, 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.803/0.803, allocations: 135.1 MB / 425.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 76.12 kB / 0.5851 GB, free: 22.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 80.91 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5009/0.6406, allocations: 161.3 MB / 0.8217 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.6427, allocations: 0.9621 MB / 0.8226 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.6431, allocations: 9.438 kB / 0.8226 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.6438, allocations: 163.3 kB / 0.8228 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.6455, allocations: 0.6564 MB / 0.8234 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.6462, allocations: 225 kB / 0.8237 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007688/0.647, allocations: 0.5175 MB / 0.8242 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.6474, allocations: 178.7 kB / 0.8243 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005965/0.648, allocations: 241.4 kB / 0.8246 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.6484, allocations: 157.6 kB / 0.8247 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.6484, allocations: 14.69 kB / 0.8247 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009614/0.6494, allocations: 0.5487 MB / 0.8253 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6495, allocations: 80.97 kB / 0.8253 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.6497, allocations: 117.1 kB / 0.8255 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008171/0.6505, allocations: 494.1 kB / 0.8259 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6505, allocations: 3.938 kB / 0.8259 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6505, allocations: 2.719 kB / 0.8259 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.6505, allocations: 0 / 0.8259 GB, free: 2.164 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00149/0.652, allocations: 0.6072 MB / 0.8265 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6521, allocations: 11.17 kB / 0.8265 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.6521, allocations: 49.92 kB / 0.8266 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.6524, allocations: 49.8 kB / 0.8266 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.6529, allocations: 287.9 kB / 0.8269 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.6529, allocations: 13.16 kB / 0.8269 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.6529, allocations: 20.62 kB / 0.8269 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.6534, allocations: 238.8 kB / 0.8272 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6534, allocations: 4 kB / 0.8272 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.6534, allocations: 5.906 kB / 0.8272 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.6535, allocations: 7.75 kB / 0.8272 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.654, allocations: 248.2 kB / 0.8274 GB, free: 0.9766 MB / 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.001169/0.6552, allocations: 0.8495 MB / 0.8282 GB, free: 256 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.6555, allocations: 141.4 kB / 0.8284 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.6557, allocations: 112.2 kB / 0.8285 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/0.656, allocations: 197 kB / 0.8287 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.656, allocations: 32.34 kB / 0.8287 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.656, allocations: 0 / 0.8287 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0008096/0.6568, allocations: 309 kB / 0.829 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.6569, allocations: 54.19 kB / 0.8291 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.6571, allocations: 234.9 kB / 0.8293 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.6571, allocations: 32.39 kB / 0.8293 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.6572, allocations: 133.7 kB / 0.8294 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.6573, allocations: 59.2 kB / 0.8295 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.6574, allocations: 33.83 kB / 0.8295 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6575, allocations: 332.9 kB / 0.8298 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.6576, allocations: 72.25 kB / 0.8299 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.6579, allocations: 102.8 kB / 0.83 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.6582, allocations: 169.9 kB / 0.8302 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6582, allocations: 0 / 0.8302 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004283/0.6587, allocations: 222 kB / 0.8304 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6587, allocations: 6.906 kB / 0.8304 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6587, allocations: 0 / 0.8304 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6587, allocations: 2.562 kB / 0.8304 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.6589, allocations: 34.12 kB / 0.8304 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6589, allocations: 4.391 kB / 0.8304 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.6591, allocations: 27.41 kB / 0.8305 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.6591, allocations: 4.812 kB / 0.8305 GB, free: 14.55 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001138/0.6592, allocations: 137.3 kB / 0.8306 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.6593, allocations: 29.22 kB / 0.8306 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.6594, allocations: 31.34 kB / 0.8307 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6594, allocations: 2.188 kB / 0.8307 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6594, allocations: 0 / 0.8307 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.6594, allocations: 6.516 kB / 0.8307 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/0.6603, allocations: 0.6853 MB / 0.8313 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6604, allocations: 2.094 kB / 0.8313 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.6605, allocations: 26.7 kB / 0.8314 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.6605, allocations: 2.5 kB / 0.8314 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.6605, allocations: 9.75 kB / 0.8314 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.6606, allocations: 8.328 kB / 0.8314 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6606, allocations: 10.62 kB / 0.8314 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.661, allocations: 347.3 kB / 0.8317 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.6611, allocations: 109.2 kB / 0.8318 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.6612, allocations: 9.125 kB / 0.8318 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.6613, allocations: 12.83 kB / 0.8318 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.6614, allocations: 13.2 kB / 0.8319 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.6614, allocations: 8.812 kB / 0.8319 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001402/0.6616, allocations: 176.6 kB / 0.832 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6616, allocations: 0 / 0.832 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003488/0.6619, allocations: 60.2 kB / 0.8321 GB, free: 13.22 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 (14): * Single equations (assignments): 14 * 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.0009425/0.6629, allocations: 0.953 MB / 0.833 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.6633, allocations: 168.6 kB / 0.8332 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6633, allocations: 0 / 0.8332 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.6635, allocations: 101.5 kB / 0.8333 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.6642, allocations: 125 kB / 0.8334 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.6671, allocations: 2.465 MB / 0.8358 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.6674, allocations: 0.7546 MB / 0.8365 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.6676, allocations: 62.16 kB / 0.8366 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.6678, allocations: 63.94 kB / 0.8367 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.6678, allocations: 6.781 kB / 0.8367 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.6905, allocations: 6.909 MB / 0.8434 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/8.124, allocations: 7.109 kB / 0.8434 GB, free: 5.953 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe_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_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)