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.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.001248/0.001248, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001968/0.003216, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001063/0.001063, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.002561, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.983/0.983, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08535/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7957/0.7957, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2997/1.095, allocations: 49.13 MB / 448.6 MB, free: 5.883 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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: translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 449.9 MB, free: 4.59 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.752e-05, allocations: 11.19 kB / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1358/0.1358, allocations: 146.8 MB / 0.5828 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.1382, allocations: 1.444 MB / 0.5842 GB, free: 252 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.1385, allocations: 19.81 kB / 0.5842 GB, free: 232 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.1389, allocations: 131 kB / 0.5843 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009097/0.1398, allocations: 0.5127 MB / 0.5848 GB, free: 15.58 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.1405, allocations: 407 kB / 0.5852 GB, free: 15.18 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0008839/0.1414, allocations: 0.8376 MB / 0.586 GB, free: 14.34 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.1418, allocations: 237.8 kB / 0.5863 GB, free: 14.11 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.1425, allocations: 451.8 kB / 0.5867 GB, free: 13.66 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1428, allocations: 227.3 kB / 0.5869 GB, free: 13.44 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.1428, allocations: 28 kB / 0.5869 GB, free: 13.41 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.1434, allocations: 307.2 kB / 0.5872 GB, free: 13.11 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1435, allocations: 119.6 kB / 0.5874 GB, free: 13 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1436, allocations: 119.8 kB / 0.5875 GB, free: 12.88 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.1441, allocations: 430.5 kB / 0.5879 GB, free: 12.46 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.1442, allocations: 4 kB / 0.5879 GB, free: 12.45 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1442, allocations: 0 / 0.5879 GB, free: 12.45 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1442, allocations: 0 / 0.5879 GB, free: 12.45 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001188/0.1454, allocations: 0.7908 MB / 0.5887 GB, free: 11.62 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1454, allocations: 12.03 kB / 0.5887 GB, free: 11.61 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005947/0.146, allocations: 216.3 kB / 0.5889 GB, free: 11.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.1464, allocations: 294.3 kB / 0.5892 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1464, allocations: 28.58 kB / 0.5892 GB, free: 11.05 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.1464, allocations: 28 kB / 0.5892 GB, free: 11.03 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1468, allocations: 270.3 kB / 0.5895 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1468, allocations: 0 / 0.5895 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1468, allocations: 16 kB / 0.5895 GB, free: 10.73 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.1468, allocations: 12.66 kB / 0.5895 GB, free: 10.72 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.147, allocations: 113.9 kB / 0.5896 GB, free: 10.61 MB / 0.573 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.001012/0.148, allocations: 0.9824 MB / 0.5906 GB, free: 9.582 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1482, allocations: 142.8 kB / 0.5907 GB, free: 9.43 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.1482, allocations: 51.03 kB / 0.5907 GB, free: 9.379 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.1484, allocations: 47.95 kB / 0.5908 GB, free: 9.332 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1484, allocations: 30.56 kB / 0.5908 GB, free: 9.293 MB / 0.573 GB Notification: Performance of pre-optimization done (n=20): time 1.492e-06/0.1484, allocations: 0 / 0.5908 GB, free: 9.293 MB / 0.573 GB Notification: Performance of matching and sorting (n=20): time 0.0002874/0.1487, allocations: 157.4 kB / 0.591 GB, free: 9.133 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.1488, allocations: 55.41 kB / 0.591 GB, free: 9.066 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1489, allocations: 250.9 kB / 0.5913 GB, free: 8.809 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1489, allocations: 33.7 kB / 0.5913 GB, free: 8.77 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.149, allocations: 180.9 kB / 0.5915 GB, free: 8.586 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.149, allocations: 75.3 kB / 0.5915 GB, free: 8.512 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.1491, allocations: 45.69 kB / 0.5916 GB, free: 8.461 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.1492, allocations: 342.8 kB / 0.5919 GB, free: 8.117 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.1492, allocations: 18.83 kB / 0.5919 GB, free: 8.098 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.1493, allocations: 163 kB / 0.5921 GB, free: 7.898 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1494, allocations: 126 kB / 0.5922 GB, free: 7.754 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1494, allocations: 0 / 0.5922 GB, free: 7.754 MB / 0.573 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001574/0.1496, allocations: 140.4 kB / 0.5923 GB, free: 7.609 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1496, allocations: 8 kB / 0.5923 GB, free: 7.602 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1496, allocations: 0 / 0.5923 GB, free: 7.602 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1496, allocations: 4 kB / 0.5924 GB, free: 7.598 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1498, allocations: 51.91 kB / 0.5924 GB, free: 7.547 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.1498, allocations: 0 / 0.5924 GB, free: 7.547 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.1498, allocations: 23.83 kB / 0.5924 GB, free: 7.523 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1499, allocations: 15.98 kB / 0.5924 GB, free: 7.508 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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 8.294e-05/0.1499, allocations: 124.8 kB / 0.5926 GB, free: 7.375 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.15, allocations: 35.97 kB / 0.5926 GB, free: 7.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.1502, allocations: 138.2 kB / 0.5927 GB, free: 7.199 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1502, allocations: 7.984 kB / 0.5927 GB, free: 7.191 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.1502, allocations: 0 / 0.5927 GB, free: 7.191 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1502, allocations: 7.922 kB / 0.5927 GB, free: 7.184 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.1507, allocations: 0.5922 MB / 0.5933 GB, free: 6.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1507, allocations: 4 kB / 0.5933 GB, free: 6.516 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1508, allocations: 43.91 kB / 0.5934 GB, free: 6.473 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.1509, allocations: 39.73 kB / 0.5934 GB, free: 6.434 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1509, allocations: 4 kB / 0.5934 GB, free: 6.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1509, allocations: 8 kB / 0.5934 GB, free: 6.422 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1509, allocations: 7.984 kB / 0.5934 GB, free: 6.414 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1509, allocations: 4.344 kB / 0.5934 GB, free: 6.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1511, allocations: 370.6 kB / 0.5938 GB, free: 5.984 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1512, allocations: 7.984 kB / 0.5938 GB, free: 5.977 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.1513, allocations: 12 kB / 0.5938 GB, free: 5.965 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1513, allocations: 23.91 kB / 0.5938 GB, free: 5.941 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1513, allocations: 4 kB / 0.5938 GB, free: 5.938 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.1514, allocations: 88.64 kB / 0.5939 GB, free: 5.852 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.1514, allocations: 0 / 0.5939 GB, free: 5.852 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002821/0.1517, allocations: 111.8 kB / 0.594 GB, free: 5.742 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0001905/0.1518, allocations: 128.2 kB / 0.5941 GB, free: 5.609 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.152, allocations: 97.31 kB / 0.5942 GB, free: 5.512 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.152, allocations: 4 kB / 0.5942 GB, free: 5.508 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.1521, allocations: 73.36 kB / 0.5943 GB, free: 5.434 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.1528, allocations: 0.8394 MB / 0.5951 GB, free: 4.445 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.1555, allocations: 0.6249 MB / 0.5957 GB, free: 3.758 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.65e-05/0.1555, allocations: 108.5 kB / 0.5958 GB, free: 3.633 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.1557, allocations: 50.89 kB / 0.5959 GB, free: 3.582 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.1559, allocations: 149.3 kB / 0.596 GB, free: 3.434 MB / 0.573 GB Notification: Performance of SimCode: time 1.102e-06/0.1559, allocations: 0 / 0.596 GB, free: 3.434 MB / 0.573 GB Notification: Performance of Templates: time 0.008557/0.1644, allocations: 6.353 MB / 0.6022 GB, free: 13.27 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.874377101659775]