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.0009899/0.00099, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007677/0.007677, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.287/1.287, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7006/0.7006, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 8 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3388, allocations: 81.58 MB / 0.5837 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1627/0.5014, allocations: 157 MB / 0.7371 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.5032, allocations: 0.9572 MB / 0.738 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.5034, allocations: 7.938 kB / 0.738 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.5038, allocations: 127.3 kB / 0.7381 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.5051, allocations: 0.5954 MB / 0.7387 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.5056, allocations: 201.2 kB / 0.7389 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006897/0.5063, allocations: 0.7371 MB / 0.7396 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.5066, allocations: 164 kB / 0.7398 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.507, allocations: 207.2 kB / 0.74 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.5072, allocations: 167.3 kB / 0.7402 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.5072, allocations: 8 kB / 0.7402 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008592/0.5081, allocations: 0.6428 MB / 0.7408 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.5082, allocations: 71.78 kB / 0.7409 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.5083, allocations: 137.1 kB / 0.741 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.5089, allocations: 0.5063 MB / 0.7415 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5089, allocations: 0 / 0.7415 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5089, allocations: 0 / 0.7415 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5089, allocations: 0 / 0.7415 GB, free: 14.23 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.001297/0.5103, allocations: 0.5571 MB / 0.742 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5103, allocations: 16.02 kB / 0.742 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.5104, allocations: 50.55 kB / 0.7421 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.5106, allocations: 47.69 kB / 0.7421 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.5109, allocations: 278.4 kB / 0.7424 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.511, allocations: 16.33 kB / 0.7424 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.511, allocations: 16 kB / 0.7424 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.5115, allocations: 246.9 kB / 0.7427 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.5115, allocations: 0 / 0.7427 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.5116, allocations: 8 kB / 0.7427 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.5116, allocations: 16 kB / 0.7427 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.5122, allocations: 259.8 kB / 0.7429 GB, free: 12.64 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.001181/0.5134, allocations: 0.8431 MB / 0.7438 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.5137, allocations: 146.5 kB / 0.7439 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.514, allocations: 124.8 kB / 0.744 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.5142, allocations: 190.2 kB / 0.7442 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.5142, allocations: 38.56 kB / 0.7442 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.5143, allocations: 0 / 0.7442 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008452/0.5151, allocations: 321.1 kB / 0.7445 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.5151, allocations: 51.41 kB / 0.7446 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.5154, allocations: 245 kB / 0.7448 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5154, allocations: 29.7 kB / 0.7449 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.5155, allocations: 140.2 kB / 0.745 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.5156, allocations: 47.3 kB / 0.745 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.5156, allocations: 17.72 kB / 0.7451 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5157, allocations: 338.8 kB / 0.7454 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.5159, allocations: 63.95 kB / 0.7454 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.5161, allocations: 114.5 kB / 0.7455 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.5165, allocations: 181.2 kB / 0.7457 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5165, allocations: 0 / 0.7457 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004814/0.517, allocations: 225.3 kB / 0.7459 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.517, allocations: 9.875 kB / 0.7459 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5171, allocations: 0 / 0.7459 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5171, allocations: 4.062 kB / 0.7459 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.5173, allocations: 43.91 kB / 0.746 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5173, allocations: 0 / 0.746 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.5175, allocations: 23.83 kB / 0.746 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.5175, allocations: 8 kB / 0.746 GB, free: 9.277 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.0001233/0.5177, allocations: 142.5 kB / 0.7462 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.5177, allocations: 31.69 kB / 0.7462 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.5178, allocations: 29.83 kB / 0.7462 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5178, allocations: 4 kB / 0.7462 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5178, allocations: 0 / 0.7462 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5178, allocations: 0 / 0.7462 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5189, allocations: 0.695 MB / 0.7469 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5189, allocations: 4.219 kB / 0.7469 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.5191, allocations: 35.97 kB / 0.7469 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5191, allocations: 0 / 0.7469 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5191, allocations: 4 kB / 0.7469 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5191, allocations: 4 kB / 0.7469 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5191, allocations: 7.875 kB / 0.7469 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.5196, allocations: 365.2 kB / 0.7473 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.5197, allocations: 112.8 kB / 0.7474 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.5198, allocations: 4 kB / 0.7474 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.52, allocations: 15.98 kB / 0.7474 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.52, allocations: 19.86 kB / 0.7474 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.5201, allocations: 16 kB / 0.7475 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001486/0.5202, allocations: 184.4 kB / 0.7476 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5202, allocations: 0 / 0.7476 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003472/0.5206, allocations: 59.84 kB / 0.7477 GB, free: 7.414 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.0009622/0.5215, allocations: 0.946 MB / 0.7486 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.522, allocations: 175.8 kB / 0.7488 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.522, allocations: 0 / 0.7488 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.5222, allocations: 104 kB / 0.7489 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.5231, allocations: 116.8 kB / 0.749 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.5261, allocations: 2.56 MB / 0.7515 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.5264, allocations: 0.7482 MB / 0.7522 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.5267, allocations: 69.89 kB / 0.7523 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.5268, allocations: 63.42 kB / 0.7524 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.5268, allocations: 0 / 0.7524 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/0.6601, allocations: 6.406 MB / 0.7586 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/0.6604, allocations: 240.9 kB / 0.7588 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.6, allocations: 3.938 kB / 0.7588 GB, free: 12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)