Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04188/0.04188, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001256/0.001256, allocations: 90.72 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001581/0.001581, allocations: 163.6 kB / 38.73 MB, free: 2.508 MB / 24.77 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.035/1.035, allocations: 177.2 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.01152/0.01152, allocations: 0.8261 MB / 276.5 MB, free: 0.7188 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.712/1.712, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.776e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003427/0.003455, allocations: 1.763 MB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.005944, allocations: 1.749 MB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.006033, allocations: 0 / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.00651, allocations: 55.62 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.006727, allocations: 107.4 kB / 0.6415 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.006855, allocations: 79.61 kB / 0.6416 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.007048, allocations: 175.6 kB / 0.6417 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.007088, allocations: 4 kB / 0.6417 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.007243, allocations: 87.75 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.007325, allocations: 63.8 kB / 0.6419 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.007346, allocations: 15.98 kB / 0.6419 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.007513, allocations: 107.9 kB / 0.642 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.007575, allocations: 51.83 kB / 0.642 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.007621, allocations: 39.91 kB / 0.6421 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.007874, allocations: 227.1 kB / 0.6423 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.007879, allocations: 4 kB / 0.6423 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.232e-06/0.00788, allocations: 0 / 0.6423 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.007885, allocations: 0 / 0.6423 GB, free: 9.539 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004445/0.008329, allocations: 403.5 kB / 0.6427 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.008363, allocations: 11.98 kB / 0.6427 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.008402, allocations: 16.92 kB / 0.6427 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.008598, allocations: 170.4 kB / 0.6429 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.008614, allocations: 4.375 kB / 0.6429 GB, free: 8.895 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.008627, allocations: 4.375 kB / 0.6429 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.008793, allocations: 141.1 kB / 0.643 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.0088, allocations: 7.938 kB / 0.643 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.008809, allocations: 0 / 0.643 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.008814, allocations: 4 kB / 0.643 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/0.008913, allocations: 86.69 kB / 0.6431 GB, free: 8.633 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.009022, allocations: 94.59 kB / 0.6432 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.009244, allocations: 137.4 kB / 0.6433 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.009279, allocations: 28.83 kB / 0.6434 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.009291, allocations: 4 kB / 0.6434 GB, free: 8.344 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.009405, allocations: 94.12 kB / 0.6435 GB, free: 8.238 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.009406, allocations: 4 kB / 0.6435 GB, free: 8.234 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13): time 0.0001639/0.00957, allocations: 93.64 kB / 0.6436 GB, free: 8.137 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.009606, allocations: 81.05 kB / 0.6436 GB, free: 8.039 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.009751, allocations: 216 kB / 0.6438 GB, free: 7.812 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.009769, allocations: 25.7 kB / 0.6439 GB, free: 7.781 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.009802, allocations: 107.8 kB / 0.644 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.009845, allocations: 47.62 kB / 0.644 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.00989, allocations: 29.7 kB / 0.644 GB, free: 7.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.009972, allocations: 330.8 kB / 0.6444 GB, free: 7.258 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.01001, allocations: 22.81 kB / 0.6444 GB, free: 7.234 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.01005, allocations: 64.27 kB / 0.6444 GB, free: 7.156 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.01013, allocations: 63.33 kB / 0.6445 GB, free: 7.086 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01013, allocations: 4 kB / 0.6445 GB, free: 7.082 MB / 0.6043 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001111/0.01024, allocations: 96.41 kB / 0.6446 GB, free: 6.98 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01025, allocations: 8 kB / 0.6446 GB, free: 6.973 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01026, allocations: 0 / 0.6446 GB, free: 6.973 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01027, allocations: 4 kB / 0.6446 GB, free: 6.969 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.01036, allocations: 35.86 kB / 0.6446 GB, free: 6.934 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.01036, allocations: 0 / 0.6446 GB, free: 6.934 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.01039, allocations: 12 kB / 0.6447 GB, free: 6.922 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.01041, allocations: 7.984 kB / 0.6447 GB, free: 6.914 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 6.771e-05/0.01047, allocations: 116.7 kB / 0.6448 GB, free: 6.789 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.01049, allocations: 15.98 kB / 0.6448 GB, free: 6.773 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.01066, allocations: 150.8 kB / 0.6449 GB, free: 6.625 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01067, allocations: 4 kB / 0.6449 GB, free: 6.621 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01067, allocations: 0 / 0.6449 GB, free: 6.621 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01067, allocations: 3.984 kB / 0.6449 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.01079, allocations: 129.7 kB / 0.6451 GB, free: 6.473 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01079, allocations: 4 kB / 0.6451 GB, free: 6.469 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.01085, allocations: 31.98 kB / 0.6451 GB, free: 6.438 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01085, allocations: 0 / 0.6451 GB, free: 6.438 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01086, allocations: 11.98 kB / 0.6451 GB, free: 6.426 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01086, allocations: 0 / 0.6451 GB, free: 6.426 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01087, allocations: 0 / 0.6451 GB, free: 6.426 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.01099, allocations: 142.6 kB / 0.6452 GB, free: 6.266 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.01102, allocations: 23.83 kB / 0.6453 GB, free: 6.242 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.01104, allocations: 11.94 kB / 0.6453 GB, free: 6.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.879e-05/0.01107, allocations: 4 kB / 0.6453 GB, free: 6.227 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.0111, allocations: 19.97 kB / 0.6453 GB, free: 6.207 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.01112, allocations: 8 kB / 0.6453 GB, free: 6.199 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.01118, allocations: 75.61 kB / 0.6454 GB, free: 6.121 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 0 / 0.6454 GB, free: 6.121 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001597/0.01134, allocations: 55.88 kB / 0.6454 GB, free: 6.066 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00126/0.0126, allocations: 0.6448 MB / 0.6461 GB, free: 5.406 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.01273, allocations: 72.77 kB / 0.6461 GB, free: 5.332 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.01273, allocations: 0 / 0.6461 GB, free: 5.332 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.01279, allocations: 60.69 kB / 0.6462 GB, free: 5.27 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.01294, allocations: 40 kB / 0.6462 GB, free: 5.23 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.01333, allocations: 311.3 kB / 0.6465 GB, free: 4.898 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.637e-05/0.01337, allocations: 76.48 kB / 0.6466 GB, free: 4.805 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.01344, allocations: 41.44 kB / 0.6466 GB, free: 4.762 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.01355, allocations: 91.34 kB / 0.6467 GB, free: 4.672 MB / 0.6043 GB Notification: Performance of SimCode: time 9.92e-07/0.01355, allocations: 0 / 0.6467 GB, free: 4.672 MB / 0.6043 GB Notification: Performance of Templates: time 0.00524/0.01879, allocations: 3.786 MB / 0.6504 GB, free: 0.8867 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.65073896991089]