Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_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.001089/0.001089, allocations: 108 kB / 15.61 MB, free: 148 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.001056/0.001056, allocations: 194 kB / 16.53 MB, free: 6.691 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.268/1.268, 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/package.mo): time 0.7277/0.7277, allocations: 132.2 MB / 422.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 60.44 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3373, allocations: 80.19 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1561/0.4934, allocations: 161.3 MB / 0.7377 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.4951, allocations: 0.9575 MB / 0.7387 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.4953, allocations: 7.938 kB / 0.7387 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.4958, allocations: 159 kB / 0.7388 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.497, allocations: 0.638 MB / 0.7395 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.4975, allocations: 218.2 kB / 0.7397 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000486/0.498, allocations: 0.511 MB / 0.7402 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.4983, allocations: 180 kB / 0.7403 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.4987, allocations: 243.1 kB / 0.7406 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.4989, allocations: 151.4 kB / 0.7407 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.4989, allocations: 16 kB / 0.7407 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.4997, allocations: 0.5338 MB / 0.7413 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.4998, allocations: 83.77 kB / 0.7413 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.4999, allocations: 115.4 kB / 0.7414 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.5005, allocations: 490.7 kB / 0.7419 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5005, allocations: 0 / 0.7419 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5005, allocations: 0 / 0.7419 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.5006, allocations: 0 / 0.7419 GB, free: 11.34 MB / 0.5762 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.001304/0.5019, allocations: 0.6078 MB / 0.7425 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5019, allocations: 12.02 kB / 0.7425 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.502, allocations: 50.53 kB / 0.7426 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.5022, allocations: 51.69 kB / 0.7426 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.5025, allocations: 274.3 kB / 0.7429 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.5025, allocations: 12.27 kB / 0.7429 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.5026, allocations: 23.94 kB / 0.7429 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.503, allocations: 238.9 kB / 0.7431 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5031, allocations: 8 kB / 0.7431 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.5031, allocations: 4 kB / 0.7431 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.5031, allocations: 8 kB / 0.7432 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005957/0.5037, allocations: 247.8 kB / 0.7434 GB, free: 9.715 MB / 0.5762 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.00115/0.5049, allocations: 0.8509 MB / 0.7442 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.5052, allocations: 146.4 kB / 0.7444 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.5054, allocations: 116.8 kB / 0.7445 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.5057, allocations: 182.2 kB / 0.7446 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5057, allocations: 42.56 kB / 0.7447 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.5057, allocations: 0 / 0.7447 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007913/0.5065, allocations: 293.3 kB / 0.745 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.5065, allocations: 59.34 kB / 0.745 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.5068, allocations: 237 kB / 0.7453 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.5068, allocations: 33.7 kB / 0.7453 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.5069, allocations: 136.2 kB / 0.7454 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.5069, allocations: 55.28 kB / 0.7455 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.507, allocations: 33.7 kB / 0.7455 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.5071, allocations: 326.8 kB / 0.7458 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.5073, allocations: 71.94 kB / 0.7459 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.5075, allocations: 101.2 kB / 0.746 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.5078, allocations: 173.4 kB / 0.7461 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5078, allocations: 8 kB / 0.7461 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004337/0.5083, allocations: 221.2 kB / 0.7464 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5083, allocations: 8 kB / 0.7464 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5083, allocations: 0 / 0.7464 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5083, allocations: 4 kB / 0.7464 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.5085, allocations: 23.98 kB / 0.7464 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5085, allocations: 4 kB / 0.7464 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.5087, allocations: 23.83 kB / 0.7464 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.5087, allocations: 7.984 kB / 0.7464 GB, free: 6.402 MB / 0.5762 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.0001239/0.5089, allocations: 146.4 kB / 0.7466 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.5089, allocations: 23.66 kB / 0.7466 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/0.509, allocations: 33.83 kB / 0.7466 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.509, allocations: 0 / 0.7466 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.509, allocations: 0 / 0.7466 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.509, allocations: 4 kB / 0.7466 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009337/0.5099, allocations: 0.6756 MB / 0.7473 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.51, allocations: 4 kB / 0.7473 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.5101, allocations: 27.92 kB / 0.7473 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5101, allocations: 11.92 kB / 0.7473 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.5102, allocations: 8.219 kB / 0.7473 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5102, allocations: 4 kB / 0.7473 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5102, allocations: 7.938 kB / 0.7473 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.5106, allocations: 345.1 kB / 0.7477 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5108, allocations: 120.8 kB / 0.7478 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.5108, allocations: 4 kB / 0.7478 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.511, allocations: 8 kB / 0.7478 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.511, allocations: 19.86 kB / 0.7478 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.5111, allocations: 15.98 kB / 0.7478 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00014/0.5112, allocations: 172.5 kB / 0.748 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5112, allocations: 0 / 0.748 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003217/0.5115, allocations: 59.94 kB / 0.7481 GB, free: 4.582 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 (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.0008653/0.5124, allocations: 0.9485 MB / 0.749 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.5128, allocations: 175.8 kB / 0.7492 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5129, allocations: 0 / 0.7492 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.5131, allocations: 91.88 kB / 0.7492 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.5138, allocations: 121 kB / 0.7494 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.5165, allocations: 2.449 MB / 0.7517 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.5168, allocations: 0.7558 MB / 0.7525 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.517, allocations: 61.84 kB / 0.7525 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5171, allocations: 67.41 kB / 0.7526 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/0.5171, allocations: 0 / 0.7526 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.5385, allocations: 6.858 MB / 0.7593 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.57, allocations: 21.62 kB / 0.7593 GB, free: 9.043 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)