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.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001211/0.001211, allocations: 191.2 kB / 16.14 MB, free: 6.688 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8619/0.8619, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 65.53 kB / 0.5048 GB, free: 5.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1327, allocations: 80.92 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.343/0.4758, allocations: 159.1 MB / 0.7391 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.4774, allocations: 0.9572 MB / 0.7401 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.4776, allocations: 9.188 kB / 0.7401 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.4781, allocations: 131.4 kB / 0.7402 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.4794, allocations: 0.5981 MB / 0.7408 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.4799, allocations: 194.2 kB / 0.741 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.4806, allocations: 0.7422 MB / 0.7417 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.4809, allocations: 163 kB / 0.7419 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.4813, allocations: 218.1 kB / 0.7421 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.4815, allocations: 168.7 kB / 0.7422 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.4816, allocations: 9.812 kB / 0.7422 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008892/0.4825, allocations: 0.6325 MB / 0.7429 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.4826, allocations: 80.33 kB / 0.7429 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.4827, allocations: 110.3 kB / 0.743 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.4834, allocations: 0.5134 MB / 0.7435 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.4834, allocations: 1.375 kB / 0.7435 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.32e-07/0.4834, allocations: 4 kB / 0.7436 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4834, allocations: 0 / 0.7436 GB, free: 7.312 MB / 0.5606 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.001334/0.4847, allocations: 0.5941 MB / 0.7441 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.4848, allocations: 9.625 kB / 0.7441 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.4848, allocations: 52.05 kB / 0.7442 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.4851, allocations: 49.17 kB / 0.7442 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.4854, allocations: 282 kB / 0.7445 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4854, allocations: 14.23 kB / 0.7445 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.4855, allocations: 20.62 kB / 0.7445 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.4859, allocations: 243.8 kB / 0.7448 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4859, allocations: 3.938 kB / 0.7448 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.486, allocations: 4.969 kB / 0.7448 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.486, allocations: 12.5 kB / 0.7448 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.4866, allocations: 251.2 kB / 0.745 GB, free: 6.133 MB / 0.5606 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.001105/0.4877, allocations: 0.8319 MB / 0.7458 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.488, allocations: 148.9 kB / 0.746 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.4882, allocations: 109 kB / 0.7461 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.4884, allocations: 184.8 kB / 0.7463 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4884, allocations: 45.47 kB / 0.7463 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.4885, allocations: 0 / 0.7463 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007376/0.4892, allocations: 300.6 kB / 0.7466 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4892, allocations: 53.78 kB / 0.7466 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4894, allocations: 247.2 kB / 0.7469 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.4895, allocations: 28.02 kB / 0.7469 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.4895, allocations: 134.6 kB / 0.747 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.4896, allocations: 44.11 kB / 0.7471 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.4896, allocations: 40.8 kB / 0.7471 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.4897, allocations: 329.5 kB / 0.7474 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.4899, allocations: 66.72 kB / 0.7475 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.4901, allocations: 112.1 kB / 0.7476 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.4904, allocations: 169.9 kB / 0.7478 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4904, allocations: 0 / 0.7478 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004009/0.4908, allocations: 218 kB / 0.748 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.4909, allocations: 4.719 kB / 0.748 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4909, allocations: 0 / 0.748 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.4909, allocations: 2.781 kB / 0.748 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4911, allocations: 38.66 kB / 0.748 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4911, allocations: 3.938 kB / 0.748 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.4912, allocations: 24.7 kB / 0.748 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.4913, allocations: 15.25 kB / 0.7481 GB, free: 3.723 MB / 0.5606 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.0001076/0.4914, allocations: 145 kB / 0.7482 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.4914, allocations: 25.59 kB / 0.7482 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.4915, allocations: 31.48 kB / 0.7483 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4915, allocations: 2.094 kB / 0.7483 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4915, allocations: 3.938 kB / 0.7483 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4915, allocations: 0 / 0.7483 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008909/0.4924, allocations: 0.676 MB / 0.7489 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4924, allocations: 0 / 0.7489 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.4926, allocations: 32.39 kB / 0.7489 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4926, allocations: 2.781 kB / 0.749 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4926, allocations: 6.234 kB / 0.749 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4926, allocations: 6.438 kB / 0.749 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4926, allocations: 2.469 kB / 0.749 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.4931, allocations: 359.1 kB / 0.7493 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.4932, allocations: 109.8 kB / 0.7494 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.4932, allocations: 10.95 kB / 0.7494 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4934, allocations: 11.62 kB / 0.7494 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.4934, allocations: 17.42 kB / 0.7495 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4935, allocations: 8.672 kB / 0.7495 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001301/0.4936, allocations: 177.8 kB / 0.7496 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4936, allocations: 0 / 0.7496 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00031/0.4939, allocations: 61.16 kB / 0.7497 GB, free: 2.383 MB / 0.5606 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.000828/0.4948, allocations: 0.9429 MB / 0.7506 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.4951, allocations: 164.6 kB / 0.7508 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4952, allocations: 2.938 kB / 0.7508 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.4954, allocations: 106 kB / 0.7509 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.496, allocations: 121.6 kB / 0.751 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.4986, allocations: 2.517 MB / 0.7534 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.4989, allocations: 0.7482 MB / 0.7542 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.4991, allocations: 61.91 kB / 0.7542 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4992, allocations: 67.41 kB / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.4992, allocations: 4 kB / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7151/1.214, allocations: 6.516 MB / 0.7607 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/1.215, allocations: 242.2 kB / 0.7609 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.88, allocations: 2.875 kB / 0.7609 GB, free: 7.695 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)