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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 223.8 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8/0.8, allocations: 134 MB / 447.2 MB, free: 9.965 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 66.12 kB / 0.6192 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1512, allocations: 85.91 MB / 0.7031 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4777/0.629, allocations: 142.1 MB / 0.8419 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.6308, allocations: 0.9297 MB / 0.8428 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.631, allocations: 16.91 kB / 0.8428 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.6316, allocations: 153.6 kB / 0.8429 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.633, allocations: 0.6419 MB / 0.8436 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.6335, allocations: 231.8 kB / 0.8438 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006306/0.6341, allocations: 0.5304 MB / 0.8443 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.6344, allocations: 145.3 kB / 0.8444 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.6349, allocations: 239.1 kB / 0.8447 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.6351, allocations: 175.2 kB / 0.8448 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.6351, allocations: 16 kB / 0.8448 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.6359, allocations: 466.6 kB / 0.8453 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.636, allocations: 87.72 kB / 0.8454 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.6361, allocations: 91.59 kB / 0.8455 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.6368, allocations: 488.5 kB / 0.8459 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6368, allocations: 4 kB / 0.8459 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6368, allocations: 0 / 0.8459 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.6368, allocations: 0 / 0.8459 GB, free: 1.07 MB / 0.6075 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.001409/0.6382, allocations: 0.532 MB / 0.8464 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.6382, allocations: 12.03 kB / 0.8465 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.6382, allocations: 4.328 kB / 0.8465 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.6383, allocations: 51.3 kB / 0.8465 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.6385, allocations: 47.78 kB / 0.8466 GB, free: 396 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.639, allocations: 236.7 kB / 0.8468 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.639, allocations: 8.328 kB / 0.8468 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.639, allocations: 20 kB / 0.8468 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.6395, allocations: 246.9 kB / 0.847 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6395, allocations: 0 / 0.847 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.6396, allocations: 6.312 kB / 0.8471 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.6396, allocations: 15.98 kB / 0.8471 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.6402, allocations: 243.8 kB / 0.8473 GB, free: 15.59 MB / 0.6231 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.001196/0.6413, allocations: 0.6899 MB / 0.848 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.6417, allocations: 142 kB / 0.8481 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.6419, allocations: 108.7 kB / 0.8482 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.6421, allocations: 35.97 kB / 0.8482 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.6421, allocations: 30.56 kB / 0.8483 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.133e-06/0.6421, allocations: 0 / 0.8483 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0008088/0.6429, allocations: 301.4 kB / 0.8486 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.643, allocations: 55.41 kB / 0.8486 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.6432, allocations: 245.1 kB / 0.8488 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.6432, allocations: 25.7 kB / 0.8489 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.6433, allocations: 140.3 kB / 0.849 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.6434, allocations: 47.52 kB / 0.8491 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.6435, allocations: 37.64 kB / 0.8491 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6436, allocations: 334.8 kB / 0.8494 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.6438, allocations: 71.95 kB / 0.8495 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.644, allocations: 181 kB / 0.8496 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.6444, allocations: 162.4 kB / 0.8498 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6444, allocations: 4 kB / 0.8498 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00045/0.6448, allocations: 225.3 kB / 0.85 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6449, allocations: 10.28 kB / 0.85 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.6449, allocations: 0 / 0.85 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.6449, allocations: 4 kB / 0.85 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.6451, allocations: 27.97 kB / 0.8501 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.6451, allocations: 4 kB / 0.8501 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.6452, allocations: 27.83 kB / 0.8501 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.6453, allocations: 4 kB / 0.8501 GB, free: 12.57 MB / 0.6231 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.0001381/0.6454, allocations: 149.8 kB / 0.8502 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.6454, allocations: 19.84 kB / 0.8503 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.65e-05/0.6455, allocations: 33.77 kB / 0.8503 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6455, allocations: 1 kB / 0.8503 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.6455, allocations: 4 kB / 0.8503 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6455, allocations: 0 / 0.8503 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.6466, allocations: 0.6384 MB / 0.8509 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6466, allocations: 0 / 0.8509 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.6467, allocations: 35.91 kB / 0.851 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6467, allocations: 0 / 0.851 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.6467, allocations: 11.62 kB / 0.851 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6467, allocations: 4 kB / 0.851 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6467, allocations: 3.938 kB / 0.851 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.6472, allocations: 357 kB / 0.8513 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.6473, allocations: 43.77 kB / 0.8514 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.6474, allocations: 4 kB / 0.8514 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.6475, allocations: 15.98 kB / 0.8514 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.6476, allocations: 15.86 kB / 0.8514 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.6476, allocations: 4 kB / 0.8514 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001618/0.6478, allocations: 180.5 kB / 0.8516 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6478, allocations: 0 / 0.8516 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003372/0.6481, allocations: 56 kB / 0.8516 GB, free: 10.91 MB / 0.6231 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.0009658/0.6491, allocations: 0.9334 MB / 0.8525 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.6495, allocations: 171.8 kB / 0.8527 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6495, allocations: 0 / 0.8527 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.6497, allocations: 92.38 kB / 0.8528 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.6504, allocations: 122.2 kB / 0.8529 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.6535, allocations: 2.472 MB / 0.8553 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.6536, allocations: 153.5 kB / 0.8555 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000181/0.6538, allocations: 57.91 kB / 0.8555 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.6539, allocations: 67.42 kB / 0.8556 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.6539, allocations: 0 / 0.8556 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.6818, allocations: 7.506 MB / 0.8629 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.55, allocations: 14.39 kB / 0.8629 GB, free: 15.41 MB / 0.6387 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.984210372087546] Failed to read output from testmodel.py, exit status != 0: 11.712857707985677 11.736589682 11.095515845 Calling exit ...