Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.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.04435/0.04435, allocations: 9.128 MB / 28.99 MB, free: 344 kB / 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.001207/0.001207, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001494/0.001494, allocations: 169.9 kB / 38.73 MB, free: 2.402 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.003/1.003, allocations: 177.1 MB / 219.2 MB, free: 10.12 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.004451/0.004451, allocations: 0.8292 MB / 276.5 MB, free: 0.7539 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.6172 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.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(AixLib.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.823e-05, allocations: 10.25 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4617/0.4617, allocations: 146.4 MB / 0.7809 GB, free: 8.707 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.4641, allocations: 1.417 MB / 0.7823 GB, free: 7.305 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.4644, allocations: 19.81 kB / 0.7823 GB, free: 7.285 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.4647, allocations: 127.1 kB / 0.7824 GB, free: 7.16 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0008809/0.4656, allocations: 0.5244 MB / 0.7829 GB, free: 6.633 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.4663, allocations: 387 kB / 0.7833 GB, free: 6.254 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0007964/0.4671, allocations: 0.8382 MB / 0.7841 GB, free: 5.414 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.4674, allocations: 230.9 kB / 0.7843 GB, free: 5.188 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.468, allocations: 418.8 kB / 0.7847 GB, free: 4.777 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.4682, allocations: 223.3 kB / 0.7849 GB, free: 4.559 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4682, allocations: 28 kB / 0.785 GB, free: 4.531 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.4687, allocations: 307.1 kB / 0.7853 GB, free: 4.23 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4688, allocations: 143.5 kB / 0.7854 GB, free: 4.09 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.4689, allocations: 139.7 kB / 0.7855 GB, free: 3.953 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.4695, allocations: 482.4 kB / 0.786 GB, free: 3.48 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4695, allocations: 0 / 0.786 GB, free: 3.48 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4695, allocations: 0 / 0.786 GB, free: 3.48 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4695, allocations: 0 / 0.786 GB, free: 3.48 MB / 0.6824 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.0007944/0.4703, allocations: 0.6144 MB / 0.7866 GB, free: 2.848 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.4703, allocations: 11.98 kB / 0.7866 GB, free: 2.836 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005825/0.4709, allocations: 224.5 kB / 0.7868 GB, free: 2.617 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.4714, allocations: 299.5 kB / 0.7871 GB, free: 2.293 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4714, allocations: 28.58 kB / 0.7871 GB, free: 2.266 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.4714, allocations: 28 kB / 0.7872 GB, free: 2.238 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.4717, allocations: 270.3 kB / 0.7874 GB, free: 1.949 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4717, allocations: 0 / 0.7874 GB, free: 1.949 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.4717, allocations: 16 kB / 0.7874 GB, free: 1.934 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.4717, allocations: 19.12 kB / 0.7874 GB, free: 1.918 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.4719, allocations: 117.9 kB / 0.7876 GB, free: 1.801 MB / 0.6824 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.000863/0.4728, allocations: 0.9702 MB / 0.7885 GB, free: 0.7969 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.4729, allocations: 138.8 kB / 0.7886 GB, free: 0.6484 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.473, allocations: 51.66 kB / 0.7887 GB, free: 0.5938 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.4731, allocations: 47.95 kB / 0.7887 GB, free: 0.5469 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.4731, allocations: 38.55 kB / 0.7888 GB, free: 0.5 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.4731, allocations: 0 / 0.7888 GB, free: 0.5 MB / 0.6824 GB Notification: Performance of matching and sorting (n=20): time 0.0002567/0.4734, allocations: 148.2 kB / 0.7889 GB, free: 360 kB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.4734, allocations: 59.34 kB / 0.789 GB, free: 288 kB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.4736, allocations: 251 kB / 0.7892 GB, free: 28 kB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.4736, allocations: 29.7 kB / 0.7892 GB, free: 15.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.4737, allocations: 188.9 kB / 0.7894 GB, free: 15.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.4737, allocations: 67.38 kB / 0.7895 GB, free: 15.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.4738, allocations: 45.69 kB / 0.7895 GB, free: 15.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.4739, allocations: 338.8 kB / 0.7898 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.4739, allocations: 22.83 kB / 0.7899 GB, free: 15.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-05/0.474, allocations: 159.1 kB / 0.79 GB, free: 15.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.4741, allocations: 117.7 kB / 0.7901 GB, free: 14.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4741, allocations: 0 / 0.7901 GB, free: 14.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001639/0.4743, allocations: 140.3 kB / 0.7903 GB, free: 14.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4743, allocations: 8 kB / 0.7903 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4743, allocations: 4.188 kB / 0.7903 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4743, allocations: 4 kB / 0.7903 GB, free: 14.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4744, allocations: 48.41 kB / 0.7903 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4744, allocations: 7.938 kB / 0.7903 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.4745, allocations: 23.88 kB / 0.7904 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4745, allocations: 4 kB / 0.7904 GB, free: 14.75 MB / 0.698 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.672e-05/0.4746, allocations: 128.5 kB / 0.7905 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.4747, allocations: 28.72 kB / 0.7905 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.4748, allocations: 145.9 kB / 0.7907 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4748, allocations: 8.562 kB / 0.7907 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4748, allocations: 3.938 kB / 0.7907 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4748, allocations: 0 / 0.7907 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.4754, allocations: 0.5925 MB / 0.7912 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4754, allocations: 9.5 kB / 0.7913 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.4755, allocations: 39.91 kB / 0.7913 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4755, allocations: 4 kB / 0.7913 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4755, allocations: 8 kB / 0.7913 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.4755, allocations: 4 kB / 0.7913 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4755, allocations: 4.5 kB / 0.7913 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.4757, allocations: 366.2 kB / 0.7917 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.4758, allocations: 39.8 kB / 0.7917 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.4758, allocations: 8 kB / 0.7917 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.476, allocations: 9.438 kB / 0.7917 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.476, allocations: 25.64 kB / 0.7917 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.476, allocations: 11.98 kB / 0.7918 GB, free: 13.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.713e-05/0.4761, allocations: 92.62 kB / 0.7918 GB, free: 13.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4761, allocations: 0 / 0.7918 GB, free: 13.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002602/0.4764, allocations: 107.7 kB / 0.7919 GB, free: 12.99 MB / 0.698 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.0001729/0.4765, allocations: 116.3 kB / 0.7921 GB, free: 12.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.4767, allocations: 104.6 kB / 0.7922 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4767, allocations: 0 / 0.7922 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/0.4768, allocations: 56.56 kB / 0.7922 GB, free: 12.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.4773, allocations: 149.5 kB / 0.7923 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.4781, allocations: 0.6105 MB / 0.7929 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.606e-05/0.4781, allocations: 108.6 kB / 0.793 GB, free: 11.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.4783, allocations: 43.48 kB / 0.7931 GB, free: 11.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.4785, allocations: 149.2 kB / 0.7932 GB, free: 11.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/0.4785, allocations: 0 / 0.7932 GB, free: 11.6 MB / 0.698 GB Notification: Performance of Templates: time 0.00818/0.4867, allocations: 5.98 MB / 0.7991 GB, free: 5.949 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.036827302072197]