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.03888/0.03888, allocations: 9.129 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.0009478/0.0009478, allocations: 98.64 kB / 35.33 MB, free: 0.9336 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.001186/0.001186, allocations: 165.2 kB / 38.73 MB, free: 2.395 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 0.9566/0.9566, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004069/0.004069, allocations: 0.8258 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.729/1.729, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.573e-06/1.573e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.055e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4851/0.4851, allocations: 146.4 MB / 0.7808 GB, free: 8.828 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.4875, allocations: 1.419 MB / 0.7822 GB, free: 7.426 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.4878, allocations: 23.81 kB / 0.7822 GB, free: 7.402 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.4883, allocations: 127.1 kB / 0.7823 GB, free: 7.277 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.4893, allocations: 0.5244 MB / 0.7828 GB, free: 6.75 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.4902, allocations: 395.1 kB / 0.7832 GB, free: 6.363 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0009383/0.4911, allocations: 0.8375 MB / 0.784 GB, free: 5.523 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.4915, allocations: 233.9 kB / 0.7843 GB, free: 5.293 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005963/0.4921, allocations: 434.8 kB / 0.7847 GB, free: 4.867 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.4923, allocations: 223.3 kB / 0.7849 GB, free: 4.648 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.4924, allocations: 28 kB / 0.7849 GB, free: 4.621 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004884/0.4929, allocations: 307.1 kB / 0.7852 GB, free: 4.32 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.493, allocations: 131.6 kB / 0.7853 GB, free: 4.191 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.4931, allocations: 143.7 kB / 0.7855 GB, free: 4.051 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.4938, allocations: 486.4 kB / 0.7859 GB, free: 3.574 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4938, allocations: 0 / 0.7859 GB, free: 3.574 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4938, allocations: 0 / 0.7859 GB, free: 3.574 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.4938, allocations: 0 / 0.7859 GB, free: 3.574 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.0009906/0.4948, allocations: 0.6182 MB / 0.7865 GB, free: 2.938 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4948, allocations: 11.98 kB / 0.7865 GB, free: 2.926 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005793/0.4954, allocations: 216.5 kB / 0.7867 GB, free: 2.715 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.4958, allocations: 306.7 kB / 0.787 GB, free: 2.383 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.4958, allocations: 22.44 kB / 0.7871 GB, free: 2.363 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.4959, allocations: 28 kB / 0.7871 GB, free: 2.336 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.4962, allocations: 274.3 kB / 0.7873 GB, free: 2.043 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4962, allocations: 0 / 0.7873 GB, free: 2.043 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.4962, allocations: 12 kB / 0.7874 GB, free: 2.031 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.4963, allocations: 12.66 kB / 0.7874 GB, free: 2.02 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.4965, allocations: 117.9 kB / 0.7875 GB, free: 1.902 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.001109/0.4976, allocations: 0.9765 MB / 0.7884 GB, free: 0.8945 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.4978, allocations: 139.4 kB / 0.7886 GB, free: 0.7461 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.4978, allocations: 47.66 kB / 0.7886 GB, free: 0.6953 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.498, allocations: 55.94 kB / 0.7887 GB, free: 0.6406 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.498, allocations: 34.56 kB / 0.7887 GB, free: 0.5977 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.498, allocations: 0 / 0.7887 GB, free: 0.5977 MB / 0.6824 GB Notification: Performance of matching and sorting (n=20): time 0.0003203/0.4983, allocations: 139 kB / 0.7888 GB, free: 468 kB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.4984, allocations: 67.28 kB / 0.7889 GB, free: 388 kB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.4985, allocations: 250.9 kB / 0.7891 GB, free: 128 kB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4986, allocations: 29.7 kB / 0.7892 GB, free: 92 kB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4987, allocations: 185 kB / 0.7893 GB, free: 15.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.4987, allocations: 71.38 kB / 0.7894 GB, free: 15.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.4988, allocations: 45.69 kB / 0.7895 GB, free: 15.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4989, allocations: 338.8 kB / 0.7898 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.4989, allocations: 26.81 kB / 0.7898 GB, free: 15.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.499, allocations: 151.6 kB / 0.7899 GB, free: 15.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.4992, allocations: 121.6 kB / 0.7901 GB, free: 15.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4992, allocations: 0 / 0.7901 GB, free: 15.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001797/0.4994, allocations: 140.4 kB / 0.7902 GB, free: 14.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4994, allocations: 8.031 kB / 0.7902 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4994, allocations: 7.938 kB / 0.7902 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4994, allocations: 4 kB / 0.7902 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4995, allocations: 43.91 kB / 0.7903 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.4995, allocations: 7.938 kB / 0.7903 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.4996, allocations: 19.89 kB / 0.7903 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.4996, allocations: 11.98 kB / 0.7903 GB, free: 14.84 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 9.592e-05/0.4997, allocations: 128.5 kB / 0.7904 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.4998, allocations: 20.88 kB / 0.7904 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.4999, allocations: 147.2 kB / 0.7906 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4999, allocations: 4 kB / 0.7906 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4999, allocations: 3.938 kB / 0.7906 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5, allocations: 3.984 kB / 0.7906 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.5005, allocations: 0.5962 MB / 0.7912 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5006, allocations: 4.5 kB / 0.7912 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.927e-05/0.5007, allocations: 39.91 kB / 0.7912 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5007, allocations: 4 kB / 0.7912 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.5007, allocations: 8 kB / 0.7912 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5007, allocations: 4.875 kB / 0.7912 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5007, allocations: 4.781 kB / 0.7912 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.501, allocations: 363.2 kB / 0.7916 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.501, allocations: 39.8 kB / 0.7916 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.501, allocations: 7.938 kB / 0.7916 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.5011, allocations: 11.98 kB / 0.7916 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.5012, allocations: 23.91 kB / 0.7917 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.5012, allocations: 8.5 kB / 0.7917 GB, free: 13.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.207e-05/0.5013, allocations: 88.62 kB / 0.7918 GB, free: 13.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.5013, allocations: 0 / 0.7918 GB, free: 13.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002733/0.5015, allocations: 111.7 kB / 0.7919 GB, free: 13.1 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.0002065/0.5017, allocations: 116.8 kB / 0.792 GB, free: 12.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.5019, allocations: 102.8 kB / 0.7921 GB, free: 12.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5019, allocations: 4 kB / 0.7921 GB, free: 12.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.588e-05/0.502, allocations: 65.7 kB / 0.7921 GB, free: 12.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.5025, allocations: 154.8 kB / 0.7923 GB, free: 12.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.5033, allocations: 0.6105 MB / 0.7929 GB, free: 12.01 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.5034, allocations: 100.6 kB / 0.793 GB, free: 11.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.5035, allocations: 45.55 kB / 0.793 GB, free: 11.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.5038, allocations: 153.2 kB / 0.7932 GB, free: 11.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/0.5038, allocations: 0 / 0.7932 GB, free: 11.7 MB / 0.698 GB Notification: Performance of Templates: time 0.008219/0.512, allocations: 5.981 MB / 0.799 GB, free: 6.047 MB / 0.698 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.242664654739201]