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.004547/0.004547, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001295/0.001295, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9787/0.9787, allocations: 135.6 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.89 kB / 0.5857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3812, allocations: 81.03 MB / 0.6649 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1798/0.561, allocations: 161.3 MB / 0.8224 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.5628, allocations: 0.9585 MB / 0.8234 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.563, allocations: 11.94 kB / 0.8234 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.5636, allocations: 155 kB / 0.8235 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.5649, allocations: 0.6379 MB / 0.8241 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.5655, allocations: 226 kB / 0.8243 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.5661, allocations: 0.5187 MB / 0.8249 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003264/0.5664, allocations: 172.2 kB / 0.825 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.5668, allocations: 231.1 kB / 0.8252 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.5671, allocations: 163.3 kB / 0.8254 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.5671, allocations: 12 kB / 0.8254 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008491/0.568, allocations: 0.5455 MB / 0.8259 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.5681, allocations: 79.78 kB / 0.826 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.5682, allocations: 119.4 kB / 0.8261 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007131/0.5689, allocations: 494.4 kB / 0.8266 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.569, allocations: 0 / 0.8266 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.233e-06/0.569, allocations: 0 / 0.8266 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.569, allocations: 0 / 0.8266 GB, free: 10.87 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001394/0.5704, allocations: 0.6112 MB / 0.8272 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5704, allocations: 11.97 kB / 0.8272 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.5705, allocations: 54.55 kB / 0.8273 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.5707, allocations: 51.77 kB / 0.8273 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.5712, allocations: 282.6 kB / 0.8276 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.5712, allocations: 16.31 kB / 0.8276 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.5713, allocations: 20 kB / 0.8276 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.5718, allocations: 239.1 kB / 0.8278 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5718, allocations: 4 kB / 0.8278 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.5718, allocations: 8 kB / 0.8279 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.5718, allocations: 11.98 kB / 0.8279 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.5724, allocations: 251.8 kB / 0.8281 GB, free: 9.223 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.001353/0.5738, allocations: 0.8434 MB / 0.8289 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.5741, allocations: 146.3 kB / 0.8291 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.5744, allocations: 112.9 kB / 0.8292 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.5747, allocations: 190.2 kB / 0.8294 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5747, allocations: 34.56 kB / 0.8294 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.5747, allocations: 0 / 0.8294 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.000836/0.5755, allocations: 303.2 kB / 0.8297 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.5756, allocations: 55.41 kB / 0.8297 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.5758, allocations: 237 kB / 0.83 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.5759, allocations: 33.7 kB / 0.83 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.576, allocations: 136.3 kB / 0.8301 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.576, allocations: 55.53 kB / 0.8302 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.5761, allocations: 33.7 kB / 0.8302 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5763, allocations: 326.8 kB / 0.8305 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.5765, allocations: 75.94 kB / 0.8306 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.5767, allocations: 102.5 kB / 0.8307 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.5771, allocations: 165.2 kB / 0.8308 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5771, allocations: 7.938 kB / 0.8309 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004672/0.5776, allocations: 221.3 kB / 0.8311 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5776, allocations: 4 kB / 0.8311 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5776, allocations: 0 / 0.8311 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5776, allocations: 4 kB / 0.8311 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.5778, allocations: 23.98 kB / 0.8311 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.5778, allocations: 7.984 kB / 0.8311 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.578, allocations: 23.95 kB / 0.8311 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.578, allocations: 7.984 kB / 0.8311 GB, free: 5.914 MB / 0.6544 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.0001401/0.5782, allocations: 145.7 kB / 0.8313 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.5782, allocations: 23.8 kB / 0.8313 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.5783, allocations: 33.83 kB / 0.8313 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.5783, allocations: 0 / 0.8313 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5783, allocations: 4 kB / 0.8313 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5783, allocations: 0 / 0.8313 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.5794, allocations: 0.6797 MB / 0.832 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5794, allocations: 8.031 kB / 0.832 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.5796, allocations: 31.91 kB / 0.832 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5796, allocations: 7.938 kB / 0.832 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.5796, allocations: 8 kB / 0.832 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5796, allocations: 7.938 kB / 0.8321 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5796, allocations: 0 / 0.8321 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.5802, allocations: 349.2 kB / 0.8324 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.5803, allocations: 113 kB / 0.8325 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.5803, allocations: 8 kB / 0.8325 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.5805, allocations: 19.92 kB / 0.8325 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.5806, allocations: 8 kB / 0.8325 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.5806, allocations: 7.984 kB / 0.8325 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001725/0.5808, allocations: 176.5 kB / 0.8327 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5808, allocations: 3.938 kB / 0.8327 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003359/0.5811, allocations: 63.88 kB / 0.8328 GB, free: 4.098 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 (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.001075/0.5822, allocations: 0.946 MB / 0.8337 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.5827, allocations: 171.8 kB / 0.8339 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5827, allocations: 0 / 0.8339 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.5829, allocations: 100.1 kB / 0.834 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.5837, allocations: 130 kB / 0.8341 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.587, allocations: 2.457 MB / 0.8365 GB, free: 144 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.5874, allocations: 0.7519 MB / 0.8372 GB, free: 15.36 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.5876, allocations: 61.91 kB / 0.8373 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.5877, allocations: 63.41 kB / 0.8373 GB, free: 15.25 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.5877, allocations: 0 / 0.8373 GB, free: 15.25 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.6167, allocations: 6.919 MB / 0.8441 GB, free: 8.488 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.784, allocations: 4.688 kB / 0.8441 GB, free: 8.484 MB / 0.67 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)