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: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001496/0.001496, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 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.013/1.013, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7825/0.7825, allocations: 154.6 MB / 415.6 MB, free: 0.543 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.62e-05, allocations: 7.172 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1306/0.1306, allocations: 144.2 MB / 0.6624 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1329, allocations: 1.408 MB / 0.6638 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.1332, allocations: 15.88 kB / 0.6638 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.1337, allocations: 135 kB / 0.6639 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009064/0.1346, allocations: 0.5167 MB / 0.6644 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.1353, allocations: 411.1 kB / 0.6648 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.1362, allocations: 0.8376 MB / 0.6656 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.1365, allocations: 243.8 kB / 0.6658 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.137, allocations: 434.9 kB / 0.6663 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1373, allocations: 239.3 kB / 0.6665 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.1373, allocations: 28 kB / 0.6665 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.1377, allocations: 307.1 kB / 0.6668 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1379, allocations: 135.6 kB / 0.6669 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.138, allocations: 147.6 kB / 0.6671 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008065/0.1388, allocations: 490.4 kB / 0.6675 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1388, allocations: 0 / 0.6675 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1388, allocations: 0 / 0.6675 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.1388, allocations: 4 kB / 0.6676 GB, free: 12.04 MB / 0.6355 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.001051/0.1398, allocations: 0.737 MB / 0.6683 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1399, allocations: 12.03 kB / 0.6683 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.1405, allocations: 220 kB / 0.6685 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.1409, allocations: 315.8 kB / 0.6688 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.1409, allocations: 24.59 kB / 0.6688 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1409, allocations: 31.94 kB / 0.6688 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.1413, allocations: 273.7 kB / 0.6691 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1413, allocations: 4 kB / 0.6691 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.1413, allocations: 11.98 kB / 0.6691 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.1413, allocations: 12.66 kB / 0.6691 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1415, allocations: 135 kB / 0.6693 GB, free: 10.2 MB / 0.6355 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.001082/0.1426, allocations: 1.311 MB / 0.6705 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1428, allocations: 87.19 kB / 0.6706 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.1428, allocations: 55.7 kB / 0.6707 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.143, allocations: 47.95 kB / 0.6707 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.143, allocations: 33.39 kB / 0.6708 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.143, allocations: 0 / 0.6708 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0003459/0.1434, allocations: 192.8 kB / 0.6709 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.1434, allocations: 59.34 kB / 0.671 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1436, allocations: 310.1 kB / 0.6713 GB, free: 8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1436, allocations: 25.7 kB / 0.6713 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1437, allocations: 263.1 kB / 0.6716 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.1437, allocations: 79.31 kB / 0.6716 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.1438, allocations: 51.33 kB / 0.6717 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1439, allocations: 0.5157 MB / 0.6722 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.144, allocations: 23.98 kB / 0.6722 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1441, allocations: 178.4 kB / 0.6724 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1442, allocations: 133.6 kB / 0.6725 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1442, allocations: 0 / 0.6725 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001971/0.1444, allocations: 170.7 kB / 0.6727 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1444, allocations: 4 kB / 0.6727 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1444, allocations: 4 kB / 0.6727 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.1444, allocations: 4 kB / 0.6727 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1446, allocations: 47.91 kB / 0.6727 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1446, allocations: 7.938 kB / 0.6727 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.1447, allocations: 28.02 kB / 0.6728 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1447, allocations: 12 kB / 0.6728 GB, free: 6.363 MB / 0.6355 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 9.778e-05/0.1448, allocations: 168.5 kB / 0.6729 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.1448, allocations: 31.89 kB / 0.673 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.145, allocations: 161.3 kB / 0.6731 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.145, allocations: 4 kB / 0.6731 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.145, allocations: 3.938 kB / 0.6731 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.145, allocations: 0 / 0.6731 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006674/0.1457, allocations: 0.6306 MB / 0.6738 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1457, allocations: 7.984 kB / 0.6738 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.882e-05/0.1458, allocations: 35.92 kB / 0.6738 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1458, allocations: 4 kB / 0.6738 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1458, allocations: 12 kB / 0.6738 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1458, allocations: 16.31 kB / 0.6738 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1458, allocations: 0 / 0.6738 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.1463, allocations: 400 kB / 0.6742 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1464, allocations: 43.72 kB / 0.6743 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1464, allocations: 11.98 kB / 0.6743 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.1465, allocations: 4 kB / 0.6743 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1466, allocations: 27.91 kB / 0.6743 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1466, allocations: 8 kB / 0.6743 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.894e-05/0.1467, allocations: 210.9 kB / 0.6745 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1467, allocations: 0 / 0.6745 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000289/0.147, allocations: 103.8 kB / 0.6746 GB, free: 4.348 MB / 0.6355 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.0001983/0.1472, allocations: 131.1 kB / 0.6747 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1474, allocations: 126.3 kB / 0.6748 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.1474, allocations: 0 / 0.6748 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.1474, allocations: 67.55 kB / 0.6749 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.148, allocations: 143.9 kB / 0.675 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/0.1488, allocations: 0.6317 MB / 0.6757 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.14e-05/0.1489, allocations: 108.6 kB / 0.6758 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.149, allocations: 50.95 kB / 0.6758 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.1493, allocations: 182.1 kB / 0.676 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/0.1493, allocations: 0 / 0.676 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of Templates: time 0.3053/0.4546, allocations: 6.097 MB / 0.6819 GB, free: 64.25 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.416449462994933]