Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.04391/0.04391, 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.001321/0.001321, 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.001741/0.001741, allocations: 164.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 0.9812/0.9812, allocations: 177.1 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.00432/0.00432, allocations: 0.8223 MB / 276.5 MB, free: 0.7266 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.679/1.679, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.268e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4368/0.4368, allocations: 147.7 MB / 0.7821 GB, free: 7.523 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.4418, allocations: 3.478 MB / 0.7855 GB, free: 4.055 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.4424, allocations: 27.75 kB / 0.7855 GB, free: 4.027 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.4429, allocations: 178.7 kB / 0.7857 GB, free: 3.852 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.4443, allocations: 0.7924 MB / 0.7865 GB, free: 3.055 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.4456, allocations: 0.7104 MB / 0.7872 GB, free: 2.348 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.4472, allocations: 1.294 MB / 0.7884 GB, free: 1.051 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008542/0.448, allocations: 410 kB / 0.7888 GB, free: 0.6602 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.4493, allocations: 0.7907 MB / 0.7896 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006429/0.4499, allocations: 378.9 kB / 0.7899 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-05/0.45, allocations: 52 kB / 0.79 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.451, allocations: 0.5845 MB / 0.7906 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.4512, allocations: 227.3 kB / 0.7908 GB, free: 14.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.4514, allocations: 239.4 kB / 0.791 GB, free: 14.42 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.4526, allocations: 0.8529 MB / 0.7918 GB, free: 13.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4526, allocations: 0 / 0.7918 GB, free: 13.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4526, allocations: 4 kB / 0.7918 GB, free: 13.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.4526, allocations: 0 / 0.7918 GB, free: 13.56 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00113/0.4538, allocations: 0.8358 MB / 0.7927 GB, free: 12.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.4538, allocations: 19.98 kB / 0.7927 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007626/0.4546, allocations: 252.4 kB / 0.7929 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.4551, allocations: 364.3 kB / 0.7933 GB, free: 12.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.4551, allocations: 29 kB / 0.7933 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.4551, allocations: 45.19 kB / 0.7933 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.4558, allocations: 0.6808 MB / 0.794 GB, free: 11.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4558, allocations: 4 kB / 0.794 GB, free: 11.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.4559, allocations: 19.98 kB / 0.794 GB, free: 11.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.4559, allocations: 20.98 kB / 0.794 GB, free: 11.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.4561, allocations: 161.9 kB / 0.7942 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.4578, allocations: 1.329 MB / 0.7955 GB, free: 9.641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.4582, allocations: 130 kB / 0.7956 GB, free: 9.504 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.4583, allocations: 24.86 kB / 0.7956 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4583, allocations: 11.98 kB / 0.7957 GB, free: 9.465 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4583, allocations: 34.56 kB / 0.7957 GB, free: 9.422 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.4583, allocations: 0 / 0.7957 GB, free: 9.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001292/0.4596, allocations: 420.9 kB / 0.7961 GB, free: 9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.4596, allocations: 77.11 kB / 0.7962 GB, free: 8.906 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.4599, allocations: 359.2 kB / 0.7965 GB, free: 8.547 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.4599, allocations: 29.7 kB / 0.7965 GB, free: 8.512 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.46, allocations: 280.6 kB / 0.7968 GB, free: 8.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.4601, allocations: 35.69 kB / 0.7968 GB, free: 8.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.4601, allocations: 65.62 kB / 0.7969 GB, free: 8.125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.4602, allocations: 354.7 kB / 0.7972 GB, free: 7.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.4603, allocations: 30.81 kB / 0.7973 GB, free: 7.738 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.4604, allocations: 130.8 kB / 0.7974 GB, free: 7.574 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.4606, allocations: 144 kB / 0.7975 GB, free: 7.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4606, allocations: 4 kB / 0.7975 GB, free: 7.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00058/0.4611, allocations: 289.2 kB / 0.7978 GB, free: 7.105 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4612, allocations: 5.25 kB / 0.7978 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4612, allocations: 4 kB / 0.7978 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/0.4618, allocations: 246 kB / 0.7981 GB, free: 6.863 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.462, allocations: 63.89 kB / 0.7981 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.4634, allocations: 1.417 MB / 0.7995 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.4636, allocations: 47.7 kB / 0.7995 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.4636, allocations: 7.984 kB / 0.7996 GB, free: 5.238 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.4638, allocations: 128.6 kB / 0.7997 GB, free: 5.102 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.4638, allocations: 32.78 kB / 0.7997 GB, free: 5.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.4638, allocations: 39.28 kB / 0.7997 GB, free: 5.031 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.4638, allocations: 0 / 0.7997 GB, free: 5.031 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4639, allocations: 7.984 kB / 0.7997 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4639, allocations: 0 / 0.7997 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.4646, allocations: 0.5391 MB / 0.8003 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4646, allocations: 0 / 0.8003 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.4647, allocations: 24.91 kB / 0.8003 GB, free: 4.426 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/0.4652, allocations: 246.6 kB / 0.8005 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4653, allocations: 3.984 kB / 0.8005 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.4663, allocations: 1.406 MB / 0.8019 GB, free: 2.684 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4663, allocations: 0 / 0.8019 GB, free: 2.684 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.4668, allocations: 376.6 kB / 0.8023 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.4669, allocations: 53.23 kB / 0.8023 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.467, allocations: 3.984 kB / 0.8023 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.4672, allocations: 32.69 kB / 0.8024 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.4672, allocations: 15.91 kB / 0.8024 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.4672, allocations: 11.98 kB / 0.8024 GB, free: 2.176 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001265/0.4674, allocations: 140.7 kB / 0.8025 GB, free: 2.035 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.4674, allocations: 3.938 kB / 0.8025 GB, free: 2.031 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005203/0.4679, allocations: 203.5 kB / 0.8027 GB, free: 1.832 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002409/0.4681, allocations: 134.4 kB / 0.8028 GB, free: 1.695 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.4685, allocations: 243.4 kB / 0.8031 GB, free: 1.445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.4685, allocations: 4 kB / 0.8031 GB, free: 1.441 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.4687, allocations: 183.4 kB / 0.8033 GB, free: 1.246 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.4693, allocations: 209.7 kB / 0.8035 GB, free: 1.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.471, allocations: 0.9012 MB / 0.8043 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.471, allocations: 129.2 kB / 0.8045 GB, free: 15.99 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.4713, allocations: 69.72 kB / 0.8045 GB, free: 15.93 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.4717, allocations: 211.1 kB / 0.8047 GB, free: 15.72 MB / 0.7137 GB Notification: Performance of SimCode: time 1.794e-06/0.4717, allocations: 4 kB / 0.8047 GB, free: 15.72 MB / 0.7137 GB Notification: Performance of Templates: time 0.01357/0.4852, allocations: 10.13 MB / 0.8146 GB, free: 5.977 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.095602797809988]