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.001047/0.001047, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009891/0.000989, allocations: 194.3 kB / 16.25 MB, free: 6.633 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8987/0.8987, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 69.14 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1341, allocations: 80.93 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4188/0.553, allocations: 159.1 MB / 0.7394 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.5547, allocations: 0.9558 MB / 0.7403 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.5549, allocations: 9.031 kB / 0.7403 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.5554, allocations: 141.2 kB / 0.7404 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.557, allocations: 0.59 MB / 0.741 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.5576, allocations: 202.7 kB / 0.7412 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.5582, allocations: 0.5245 MB / 0.7417 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.5585, allocations: 169 kB / 0.7419 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.5589, allocations: 247.5 kB / 0.7421 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.5591, allocations: 168.8 kB / 0.7423 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.5592, allocations: 14.69 kB / 0.7423 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008152/0.56, allocations: 0.5674 MB / 0.7429 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.5601, allocations: 84.89 kB / 0.7429 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.5602, allocations: 112.8 kB / 0.743 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.5609, allocations: 0.5234 MB / 0.7436 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5609, allocations: 5.375 kB / 0.7436 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5609, allocations: 0 / 0.7436 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5609, allocations: 0 / 0.7436 GB, free: 7.309 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.001476/0.5624, allocations: 0.598 MB / 0.7441 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.5625, allocations: 9.625 kB / 0.7441 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.314e-05/0.5625, allocations: 52.38 kB / 0.7442 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.5628, allocations: 47.88 kB / 0.7442 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.5631, allocations: 280.6 kB / 0.7445 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.5632, allocations: 11.2 kB / 0.7445 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.5632, allocations: 19 kB / 0.7445 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.5637, allocations: 241.3 kB / 0.7448 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5637, allocations: 0 / 0.7448 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.5637, allocations: 5.375 kB / 0.7448 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.5638, allocations: 15.06 kB / 0.7448 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.5644, allocations: 249.8 kB / 0.745 GB, free: 6.332 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.001185/0.5655, allocations: 0.8324 MB / 0.7458 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.5659, allocations: 148.8 kB / 0.746 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5661, allocations: 112.4 kB / 0.7461 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.5664, allocations: 189 kB / 0.7463 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5664, allocations: 42.5 kB / 0.7463 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.5664, allocations: 0 / 0.7463 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007749/0.5672, allocations: 290.7 kB / 0.7466 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.5672, allocations: 58.27 kB / 0.7466 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.5675, allocations: 242.3 kB / 0.7469 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.5675, allocations: 32.95 kB / 0.7469 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.5676, allocations: 137.6 kB / 0.747 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.5677, allocations: 52.94 kB / 0.7471 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.5678, allocations: 34.23 kB / 0.7471 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5679, allocations: 334.2 kB / 0.7474 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.5681, allocations: 69.72 kB / 0.7475 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.5683, allocations: 106.5 kB / 0.7476 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.5687, allocations: 172.5 kB / 0.7478 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5687, allocations: 3.938 kB / 0.7478 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004048/0.5691, allocations: 219.3 kB / 0.748 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5691, allocations: 7.688 kB / 0.748 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5691, allocations: 2.234 kB / 0.748 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5691, allocations: 3.984 kB / 0.748 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5693, allocations: 33.91 kB / 0.748 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5693, allocations: 2.594 kB / 0.748 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.5695, allocations: 19.83 kB / 0.7481 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.5695, allocations: 13.31 kB / 0.7481 GB, free: 3.996 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.0001242/0.5697, allocations: 141.5 kB / 0.7482 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.5697, allocations: 30.64 kB / 0.7482 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/0.5698, allocations: 26.47 kB / 0.7483 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5698, allocations: 2.438 kB / 0.7483 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5698, allocations: 0 / 0.7483 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5698, allocations: 3.984 kB / 0.7483 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5709, allocations: 0.6757 MB / 0.7489 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5709, allocations: 2.531 kB / 0.7489 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.571, allocations: 33.11 kB / 0.749 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.571, allocations: 2.594 kB / 0.749 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.5711, allocations: 3.406 kB / 0.749 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.5711, allocations: 5.922 kB / 0.749 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5711, allocations: 2.75 kB / 0.749 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.5715, allocations: 360.7 kB / 0.7493 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/0.5716, allocations: 113.9 kB / 0.7494 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.5717, allocations: 10.41 kB / 0.7494 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.5719, allocations: 16.02 kB / 0.7494 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.5719, allocations: 16.83 kB / 0.7495 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.5719, allocations: 5 kB / 0.7495 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001389/0.5721, allocations: 181.4 kB / 0.7496 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5721, allocations: 7.875 kB / 0.7496 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003382/0.5724, allocations: 54.81 kB / 0.7497 GB, free: 2.652 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.0009935/0.5734, allocations: 0.9377 MB / 0.7506 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.5739, allocations: 178.2 kB / 0.7508 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5739, allocations: 0 / 0.7508 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.5741, allocations: 96.59 kB / 0.7509 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.5748, allocations: 125.9 kB / 0.751 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.5778, allocations: 2.51 MB / 0.7534 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.5781, allocations: 0.7557 MB / 0.7542 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.5783, allocations: 57.91 kB / 0.7542 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5784, allocations: 71.41 kB / 0.7543 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.5784, allocations: 0 / 0.7543 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3338/0.9123, allocations: 6.701 MB / 0.7609 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/0.9126, allocations: 243.8 kB / 0.7611 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.248, allocations: 0 / 0.7611 GB, free: 7.59 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)