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.003874/0.003874, allocations: 100 kB / 15.73 MB, free: 6.02 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.001012/0.001012, allocations: 187.3 kB / 16.67 MB, free: 5.938 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7835/0.7835, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.16 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 80.92 MB / 0.6641 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4624/0.5958, allocations: 161.3 MB / 0.8217 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.5975, allocations: 0.9629 MB / 0.8226 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.5977, allocations: 9.188 kB / 0.8227 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.5983, allocations: 164.8 kB / 0.8228 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.5997, allocations: 0.6514 MB / 0.8234 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.6003, allocations: 224.5 kB / 0.8237 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.6008, allocations: 0.5218 MB / 0.8242 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.6012, allocations: 178.7 kB / 0.8243 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.6016, allocations: 234.8 kB / 0.8246 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.6018, allocations: 161.1 kB / 0.8247 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.6018, allocations: 16.72 kB / 0.8247 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.6026, allocations: 0.546 MB / 0.8253 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.6027, allocations: 79.44 kB / 0.8253 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.6029, allocations: 118.1 kB / 0.8255 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.6035, allocations: 495.9 kB / 0.8259 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6035, allocations: 0 / 0.8259 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.206e-06/0.6035, allocations: 0 / 0.8259 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6035, allocations: 3.938 kB / 0.8259 GB, free: 2.191 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.001369/0.6049, allocations: 0.6064 MB / 0.8265 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.6049, allocations: 14.61 kB / 0.8265 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.605, allocations: 51.83 kB / 0.8266 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.6053, allocations: 49.19 kB / 0.8266 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.6057, allocations: 291.7 kB / 0.8269 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6057, allocations: 11.7 kB / 0.8269 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.6057, allocations: 17.53 kB / 0.8269 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.6062, allocations: 238.1 kB / 0.8272 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6062, allocations: 0 / 0.8272 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.6062, allocations: 7.984 kB / 0.8272 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.6063, allocations: 13.38 kB / 0.8272 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.6068, allocations: 252.3 kB / 0.8274 GB, free: 1 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.001158/0.608, allocations: 0.8353 MB / 0.8282 GB, free: 292 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.6083, allocations: 146.2 kB / 0.8284 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.6085, allocations: 115.3 kB / 0.8285 GB, free: 144 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.6088, allocations: 193.8 kB / 0.8287 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.6088, allocations: 33.22 kB / 0.8287 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.6088, allocations: 0 / 0.8287 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007976/0.6096, allocations: 305.1 kB / 0.829 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.6097, allocations: 53.53 kB / 0.8291 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.6099, allocations: 245.6 kB / 0.8293 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.6099, allocations: 25.7 kB / 0.8293 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.61, allocations: 138.4 kB / 0.8294 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.6101, allocations: 50.38 kB / 0.8295 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.6101, allocations: 42.36 kB / 0.8295 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6102, allocations: 328.5 kB / 0.8298 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.6104, allocations: 67.22 kB / 0.8299 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.6106, allocations: 103.5 kB / 0.83 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.611, allocations: 169.7 kB / 0.8302 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.611, allocations: 0 / 0.8302 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004448/0.6115, allocations: 221.1 kB / 0.8304 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.6115, allocations: 4.719 kB / 0.8304 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6115, allocations: 6.516 kB / 0.8304 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.6115, allocations: 64 / 0.8304 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.6117, allocations: 39.05 kB / 0.8304 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6117, allocations: 2.781 kB / 0.8304 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.6119, allocations: 18.61 kB / 0.8304 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.6119, allocations: 13.48 kB / 0.8305 GB, free: 14.58 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.0001166/0.612, allocations: 140.9 kB / 0.8306 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.6121, allocations: 25.86 kB / 0.8306 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.6122, allocations: 33.11 kB / 0.8307 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6122, allocations: 4 kB / 0.8307 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6122, allocations: 2.812 kB / 0.8307 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6122, allocations: 0 / 0.8307 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009966/0.6132, allocations: 0.6868 MB / 0.8313 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6132, allocations: 0 / 0.8313 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.6134, allocations: 26.42 kB / 0.8314 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6134, allocations: 2.688 kB / 0.8314 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.6134, allocations: 6.484 kB / 0.8314 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6134, allocations: 3.438 kB / 0.8314 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6134, allocations: 12.75 kB / 0.8314 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.6139, allocations: 353 kB / 0.8317 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.614, allocations: 108.1 kB / 0.8318 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.6141, allocations: 10.02 kB / 0.8318 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.6143, allocations: 5.438 kB / 0.8318 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.6143, allocations: 23.23 kB / 0.8319 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.6143, allocations: 5.75 kB / 0.8319 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001425/0.6145, allocations: 178.8 kB / 0.832 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6145, allocations: 4 kB / 0.832 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003301/0.6148, allocations: 62.11 kB / 0.8321 GB, free: 13.25 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.0009097/0.6157, allocations: 0.9397 MB / 0.833 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.6162, allocations: 178.5 kB / 0.8332 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6162, allocations: 0 / 0.8332 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.6164, allocations: 96.75 kB / 0.8333 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/0.6171, allocations: 125 kB / 0.8334 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.6199, allocations: 2.462 MB / 0.8358 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.6202, allocations: 0.7516 MB / 0.8365 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000187/0.6204, allocations: 69.38 kB / 0.8366 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.6205, allocations: 67.59 kB / 0.8367 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.6205, allocations: 3.938 kB / 0.8367 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.6426, allocations: 6.912 MB / 0.8434 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.489, allocations: 8.578 kB / 0.8434 GB, free: 5.984 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)