Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.04707/0.04707, allocations: 9.129 MB / 28.99 MB, free: 0.8125 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.0009608/0.0009608, 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.001234/0.001234, allocations: 168.5 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.078/1.078, 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.00414/0.00414, allocations: 0.8257 MB / 276.5 MB, free: 0.7461 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.9/1.9, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.545e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00404/0.004075, allocations: 1.391 MB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.005389, allocations: 0.5565 MB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.005437, allocations: 0 / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.005465, allocations: 0 / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/0.005545, allocations: 3.984 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.006433, allocations: 147.2 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.006533, allocations: 23.88 kB / 0.64 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.728e-05/0.0066, allocations: 3.984 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.006651, allocations: 4 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.006721, allocations: 11.98 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.006738, allocations: 4 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005784/0.007316, allocations: 279.3 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.007339, allocations: 4 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.007364, allocations: 7.938 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.007694, allocations: 155.5 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.007699, allocations: 0 / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.054e-06/0.007701, allocations: 0 / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.007707, allocations: 0 / 0.6404 GB, free: 11.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005/0.008207, allocations: 268.5 kB / 0.6407 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.008263, allocations: 15.98 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.008302, allocations: 0.9375 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.008431, allocations: 105.8 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.008447, allocations: 384 / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.008456, allocations: 384 / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.008565, allocations: 46.25 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.008581, allocations: 4.125 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.008593, allocations: 4.359 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.008602, allocations: 384 / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.008641, allocations: 15.92 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.009017, allocations: 152.3 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.009251, allocations: 34.56 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.009288, allocations: 12.92 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.009313, allocations: 0 / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.009362, allocations: 42.55 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 2.325e-06/0.009364, allocations: 3.938 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001845/0.009549, allocations: 41.69 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.009605, allocations: 55.34 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.009693, allocations: 102.7 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.009712, allocations: 25.7 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.009774, allocations: 88.09 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.00979, allocations: 15.84 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.00983, allocations: 17.7 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.009953, allocations: 314.8 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.009968, allocations: 4 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.01, allocations: 33.7 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.01005, allocations: 21.66 kB / 0.6418 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01005, allocations: 0 / 0.6418 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.672e-05/0.01015, allocations: 45.62 kB / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.01017, allocations: 11.98 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.01018, allocations: 0 / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.0102, allocations: 3.938 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.01027, allocations: 11.94 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.01028, allocations: 3.984 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.01031, allocations: 4.031 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.01032, allocations: 4 kB / 0.6418 GB, free: 9.859 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.389e-05/0.01041, allocations: 109.8 kB / 0.642 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.01044, allocations: 4 kB / 0.642 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.01061, allocations: 53.3 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.01061, allocations: 0 / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01062, allocations: 7.938 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.01062, allocations: 480 / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.01078, allocations: 65.89 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.01078, allocations: 7.984 kB / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.01084, allocations: 8 kB / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.01084, allocations: 0 / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.01085, allocations: 0 / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01085, allocations: 0 / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.01086, allocations: 0 / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.01103, allocations: 147.4 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.01105, allocations: 7.953 kB / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.01106, allocations: 0 / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.01112, allocations: 3.984 kB / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.01114, allocations: 0 / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.01114, allocations: 4 kB / 0.6423 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.732e-05/0.01116, allocations: 12.8 kB / 0.6423 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 0.6423 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002815/0.01144, allocations: 23.88 kB / 0.6423 GB, free: 9.363 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002343/0.01167, allocations: 104.3 kB / 0.6424 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.708e-05/0.01177, allocations: 20.8 kB / 0.6424 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.01178, allocations: 0 / 0.6424 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.878e-05/0.0118, allocations: 16.84 kB / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.01198, allocations: 0 / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.01238, allocations: 120.7 kB / 0.6425 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.105e-05/0.01244, allocations: 55.36 kB / 0.6426 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.123e-05/0.01248, allocations: 11.92 kB / 0.6426 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.01253, allocations: 51.38 kB / 0.6426 GB, free: 8.93 MB / 0.6043 GB Notification: Performance of SimCode: time 6.71e-07/0.01253, allocations: 0 / 0.6426 GB, free: 8.93 MB / 0.6043 GB Notification: Performance of Templates: time 0.003691/0.01622, allocations: 0.5941 MB / 0.6432 GB, free: 8.336 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.85983398463577]