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.001037/0.001037, allocations: 108 kB / 15.61 MB, free: 152 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.001062/0.001062, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.968/0.968, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 64.08 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1544, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4707/0.6252, allocations: 161.3 MB / 0.742 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003514/0.6288, allocations: 0.9542 MB / 0.7429 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007888/0.6296, allocations: 9.406 kB / 0.7429 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.6306, allocations: 157.8 kB / 0.7431 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.6338, allocations: 0.6442 MB / 0.7437 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.6348, allocations: 211.2 kB / 0.7439 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.636, allocations: 0.5186 MB / 0.7444 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.6366, allocations: 177.9 kB / 0.7446 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008485/0.6375, allocations: 235.6 kB / 0.7448 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.6379, allocations: 161.7 kB / 0.745 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.638, allocations: 18.41 kB / 0.745 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.6397, allocations: 0.5363 MB / 0.7455 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.6399, allocations: 79.28 kB / 0.7456 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.6402, allocations: 107.5 kB / 0.7457 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.6417, allocations: 0.4888 MB / 0.7462 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6417, allocations: 1.375 kB / 0.7462 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6417, allocations: 0 / 0.7462 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.6417, allocations: 0 / 0.7462 GB, free: 5.137 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.002445/0.6442, allocations: 0.601 MB / 0.7468 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.6443, allocations: 10.09 kB / 0.7468 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.944e-05/0.6444, allocations: 49.02 kB / 0.7468 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.6448, allocations: 48.34 kB / 0.7469 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.6453, allocations: 277.7 kB / 0.7471 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.6454, allocations: 15.36 kB / 0.7471 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.6454, allocations: 15.41 kB / 0.7472 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007465/0.6462, allocations: 243.6 kB / 0.7474 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.6462, allocations: 5.438 kB / 0.7474 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.6463, allocations: 9.188 kB / 0.7474 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.6463, allocations: 8.156 kB / 0.7474 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/0.6473, allocations: 251.8 kB / 0.7476 GB, free: 3.961 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.001913/0.6492, allocations: 0.8421 MB / 0.7485 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.6497, allocations: 138.2 kB / 0.7486 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.6501, allocations: 120.4 kB / 0.7487 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.6505, allocations: 188.6 kB / 0.7489 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.6506, allocations: 37.06 kB / 0.7489 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.6506, allocations: 4 kB / 0.7489 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0014/0.652, allocations: 295.2 kB / 0.7492 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.6521, allocations: 54.22 kB / 0.7493 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.6524, allocations: 237.6 kB / 0.7495 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.6525, allocations: 31.05 kB / 0.7495 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.6526, allocations: 139.5 kB / 0.7497 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.6527, allocations: 48.52 kB / 0.7497 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.6528, allocations: 34.58 kB / 0.7497 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.653, allocations: 329 kB / 0.7501 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.6532, allocations: 73.53 kB / 0.7501 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.6535, allocations: 107.1 kB / 0.7502 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.6539, allocations: 174.3 kB / 0.7504 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6539, allocations: 0 / 0.7504 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005039/0.6544, allocations: 219.6 kB / 0.7506 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.6545, allocations: 11.38 kB / 0.7506 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6545, allocations: 3.516 kB / 0.7506 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.6545, allocations: 6.406 kB / 0.7506 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.6547, allocations: 24.83 kB / 0.7506 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.6547, allocations: 2.75 kB / 0.7506 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.655, allocations: 23.92 kB / 0.7507 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.655, allocations: 8.641 kB / 0.7507 GB, free: 1.551 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.0001741/0.6552, allocations: 143.3 kB / 0.7508 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.6553, allocations: 34.38 kB / 0.7508 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.6554, allocations: 30.58 kB / 0.7509 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6554, allocations: 2.469 kB / 0.7509 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.6554, allocations: 0 / 0.7509 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6554, allocations: 0 / 0.7509 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6566, allocations: 0.6793 MB / 0.7515 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.6566, allocations: 0 / 0.7515 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.6568, allocations: 34.97 kB / 0.7516 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6568, allocations: 2.312 kB / 0.7516 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.6568, allocations: 6.625 kB / 0.7516 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.6568, allocations: 6.656 kB / 0.7516 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6568, allocations: 6.969 kB / 0.7516 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.6574, allocations: 354.1 kB / 0.7519 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.6575, allocations: 119.9 kB / 0.752 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.6576, allocations: 2.812 kB / 0.7521 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.6578, allocations: 9.5 kB / 0.7521 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.6578, allocations: 17.05 kB / 0.7521 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.6579, allocations: 13.64 kB / 0.7521 GB, free: 344 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001958/0.6581, allocations: 173.2 kB / 0.7523 GB, free: 224 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6581, allocations: 0 / 0.7523 GB, free: 224 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004027/0.6585, allocations: 55.78 kB / 0.7523 GB, free: 216 kB / 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.001191/0.6597, allocations: 0.9388 MB / 0.7532 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.6602, allocations: 181.9 kB / 0.7534 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6602, allocations: 3.938 kB / 0.7534 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.6604, allocations: 92.53 kB / 0.7535 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/0.6612, allocations: 132.2 kB / 0.7536 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.6647, allocations: 2.46 MB / 0.756 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.6652, allocations: 0.7519 MB / 0.7568 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000277/0.6655, allocations: 61.91 kB / 0.7568 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.6656, allocations: 67.41 kB / 0.7569 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.455e-06/0.6656, allocations: 0 / 0.7569 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.6937, allocations: 6.854 MB / 0.7636 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.103/9.797, allocations: 6.281 kB / 0.7636 GB, free: 5.113 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)