Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.04458/0.04458, allocations: 9.132 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.00084/0.00084, allocations: 99.08 kB / 35.33 MB, free: 1.066 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.001135/0.001135, allocations: 161.9 kB / 38.73 MB, free: 2.492 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.141/1.141, 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.004059/0.004059, allocations: 0.8224 MB / 276.5 MB, free: 0.75 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.762/1.762, 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.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.709e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.006291/0.006318, allocations: 6.657 MB / 0.6443 GB, free: 7.477 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.008188, allocations: 1.343 MB / 0.6456 GB, free: 6.129 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.008412, allocations: 19.81 kB / 0.6457 GB, free: 6.109 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.00872, allocations: 111.1 kB / 0.6458 GB, free: 6 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.009244, allocations: 274.4 kB / 0.646 GB, free: 5.73 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.00987, allocations: 363.2 kB / 0.6464 GB, free: 5.375 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.01048, allocations: 0.7682 MB / 0.6471 GB, free: 4.602 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.01077, allocations: 235.3 kB / 0.6473 GB, free: 4.371 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.01121, allocations: 394.9 kB / 0.6477 GB, free: 3.984 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.01139, allocations: 183.3 kB / 0.6479 GB, free: 3.805 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.01142, allocations: 24 kB / 0.6479 GB, free: 3.781 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.01159, allocations: 107.8 kB / 0.648 GB, free: 3.676 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.01166, allocations: 79.69 kB / 0.6481 GB, free: 3.598 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.01174, allocations: 87.83 kB / 0.6482 GB, free: 3.512 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.01205, allocations: 287 kB / 0.6485 GB, free: 3.23 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.01206, allocations: 7.938 kB / 0.6485 GB, free: 3.223 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.323e-06/0.01206, allocations: 0 / 0.6485 GB, free: 3.223 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.01206, allocations: 4 kB / 0.6485 GB, free: 3.219 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0004848/0.01255, allocations: 495.4 kB / 0.6489 GB, free: 2.707 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.01258, allocations: 15.98 kB / 0.649 GB, free: 2.691 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.01264, allocations: 40.91 kB / 0.649 GB, free: 2.652 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.01291, allocations: 252.6 kB / 0.6492 GB, free: 2.379 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.01292, allocations: 20.88 kB / 0.6493 GB, free: 2.359 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.01295, allocations: 24.38 kB / 0.6493 GB, free: 2.336 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.01319, allocations: 241.7 kB / 0.6495 GB, free: 2.07 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01321, allocations: 4.172 kB / 0.6495 GB, free: 2.066 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.01323, allocations: 16.12 kB / 0.6495 GB, free: 2.051 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.01324, allocations: 4 kB / 0.6495 GB, free: 2.047 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.755e-05/0.01333, allocations: 55.44 kB / 0.6496 GB, free: 1.992 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.01401, allocations: 0.5002 MB / 0.6501 GB, free: 1.473 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.01411, allocations: 118.8 kB / 0.6502 GB, free: 1.336 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.01414, allocations: 36.67 kB / 0.6502 GB, free: 1.293 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.867e-05/0.01422, allocations: 19.98 kB / 0.6502 GB, free: 1.273 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.01424, allocations: 34.56 kB / 0.6503 GB, free: 1.23 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.01424, allocations: 0 / 0.6503 GB, free: 1.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12): time 0.0001727/0.01442, allocations: 89.53 kB / 0.6504 GB, free: 1.137 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.01446, allocations: 89.05 kB / 0.6504 GB, free: 1.031 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.01458, allocations: 209 kB / 0.6506 GB, free: 0.8125 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.01459, allocations: 29.7 kB / 0.6507 GB, free: 0.7773 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.01466, allocations: 148.9 kB / 0.6508 GB, free: 0.625 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.01469, allocations: 47.56 kB / 0.6509 GB, free: 0.5781 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.01473, allocations: 41.69 kB / 0.6509 GB, free: 0.5312 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.01482, allocations: 330.8 kB / 0.6512 GB, free: 204 kB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.01484, allocations: 18.81 kB / 0.6512 GB, free: 184 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.01496, allocations: 220.1 kB / 0.6514 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.01503, allocations: 75.5 kB / 0.6515 GB, free: 15.81 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01503, allocations: 0 / 0.6515 GB, free: 15.81 MB / 0.6199 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001107/0.01514, allocations: 98.02 kB / 0.6516 GB, free: 15.71 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01515, allocations: 4 kB / 0.6516 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01516, allocations: 4.094 kB / 0.6516 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.01517, allocations: 7.984 kB / 0.6516 GB, free: 15.69 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.01529, allocations: 35.97 kB / 0.6517 GB, free: 15.66 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01529, allocations: 7.938 kB / 0.6517 GB, free: 15.65 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.01535, allocations: 15.95 kB / 0.6517 GB, free: 15.63 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.01536, allocations: 7.984 kB / 0.6517 GB, free: 15.62 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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 7.399e-05/0.01544, allocations: 120.6 kB / 0.6518 GB, free: 15.5 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.01547, allocations: 24.02 kB / 0.6518 GB, free: 15.47 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.01561, allocations: 115.2 kB / 0.6519 GB, free: 15.36 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01561, allocations: 0 / 0.6519 GB, free: 15.36 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01561, allocations: 7.938 kB / 0.6519 GB, free: 15.35 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01562, allocations: 384 / 0.6519 GB, free: 15.35 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.01599, allocations: 0.493 MB / 0.6524 GB, free: 14.81 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.016, allocations: 4.062 kB / 0.6524 GB, free: 14.81 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.01608, allocations: 35.97 kB / 0.6525 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01608, allocations: 0 / 0.6525 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.01609, allocations: 12.06 kB / 0.6525 GB, free: 14.76 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01609, allocations: 3.938 kB / 0.6525 GB, free: 14.76 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01609, allocations: 4 kB / 0.6525 GB, free: 14.75 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.01627, allocations: 396.2 kB / 0.6529 GB, free: 14.33 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.01631, allocations: 31.84 kB / 0.6529 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.01632, allocations: 7.938 kB / 0.6529 GB, free: 14.29 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.0164, allocations: 11.98 kB / 0.6529 GB, free: 14.28 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.01644, allocations: 23.91 kB / 0.6529 GB, free: 14.26 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.01645, allocations: 4 kB / 0.6529 GB, free: 14.25 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.0165, allocations: 74.77 kB / 0.653 GB, free: 14.18 MB / 0.6199 GB Notification: Performance of sort global known variables: time 2.21e-07/0.0165, allocations: 4 kB / 0.653 GB, free: 14.18 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002279/0.01672, allocations: 75.77 kB / 0.6531 GB, free: 14.1 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001802/0.0169, allocations: 120.3 kB / 0.6532 GB, free: 13.98 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.01702, allocations: 72.83 kB / 0.6533 GB, free: 13.9 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.01702, allocations: 4 kB / 0.6533 GB, free: 13.9 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/0.01707, allocations: 48.7 kB / 0.6533 GB, free: 13.85 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.01741, allocations: 101.4 kB / 0.6534 GB, free: 13.75 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.01814, allocations: 496.4 kB / 0.6539 GB, free: 13.21 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.074e-05/0.0182, allocations: 96.3 kB / 0.654 GB, free: 13.1 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 6.795e-05/0.01827, allocations: 29.66 kB / 0.654 GB, free: 13.07 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.01843, allocations: 117.3 kB / 0.6541 GB, free: 12.96 MB / 0.6199 GB Notification: Performance of SimCode: time 8.02e-07/0.01843, allocations: 0 / 0.6541 GB, free: 12.96 MB / 0.6199 GB Notification: Performance of Templates: time 0.007276/0.0257, allocations: 4.365 MB / 0.6584 GB, free: 8.59 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01501995511353]