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.0422/0.0422, allocations: 9.126 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.0008972/0.0008972, allocations: 87.28 kB / 35.32 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.00119/0.00119, allocations: 164.1 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.013/1.013, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.004068/0.004068, allocations: 0.8261 MB / 276.5 MB, free: 0.7188 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.731/1.731, 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.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.312e-06/1.312e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.382e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5617/0.5617, allocations: 147.6 MB / 0.782 GB, free: 7.625 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.566, allocations: 3.478 MB / 0.7854 GB, free: 4.156 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.5664, allocations: 23.81 kB / 0.7854 GB, free: 4.133 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.5669, allocations: 186.7 kB / 0.7856 GB, free: 3.949 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.5684, allocations: 0.8002 MB / 0.7864 GB, free: 3.145 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.5698, allocations: 0.7061 MB / 0.7871 GB, free: 2.441 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.001969/0.5718, allocations: 1.307 MB / 0.7883 GB, free: 1.133 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005401/0.5723, allocations: 398.8 kB / 0.7887 GB, free: 0.75 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.5738, allocations: 0.7784 MB / 0.7895 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.5743, allocations: 394.8 kB / 0.7899 GB, free: 15.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.5744, allocations: 48 kB / 0.7899 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009049/0.5753, allocations: 0.5651 MB / 0.7905 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.5755, allocations: 227.3 kB / 0.7907 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.5757, allocations: 231.5 kB / 0.7909 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5769, allocations: 0.8606 MB / 0.7917 GB, free: 13.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5769, allocations: 4 kB / 0.7917 GB, free: 13.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5769, allocations: 0 / 0.7917 GB, free: 13.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5769, allocations: 0 / 0.7917 GB, free: 13.67 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.001317/0.5782, allocations: 0.8281 MB / 0.7926 GB, free: 12.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.5782, allocations: 23.86 kB / 0.7926 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007268/0.579, allocations: 260.4 kB / 0.7928 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.5794, allocations: 356.1 kB / 0.7932 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.5795, allocations: 29 kB / 0.7932 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.5795, allocations: 48 kB / 0.7932 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.5802, allocations: 0.6754 MB / 0.7939 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5802, allocations: 8 kB / 0.7939 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.5802, allocations: 20 kB / 0.7939 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.5802, allocations: 20.98 kB / 0.7939 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.5805, allocations: 164.4 kB / 0.7941 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.5824, allocations: 1.324 MB / 0.7954 GB, free: 9.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.5826, allocations: 133.2 kB / 0.7955 GB, free: 9.609 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.5827, allocations: 28.86 kB / 0.7955 GB, free: 9.578 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.5827, allocations: 7.984 kB / 0.7956 GB, free: 9.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5827, allocations: 30.56 kB / 0.7956 GB, free: 9.531 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.5827, allocations: 4 kB / 0.7956 GB, free: 9.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001256/0.584, allocations: 422.1 kB / 0.796 GB, free: 9.105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.584, allocations: 81.05 kB / 0.7961 GB, free: 9.008 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.5843, allocations: 359.2 kB / 0.7964 GB, free: 8.648 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5844, allocations: 25.7 kB / 0.7964 GB, free: 8.617 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.5845, allocations: 284.6 kB / 0.7967 GB, free: 8.332 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.5845, allocations: 35.7 kB / 0.7967 GB, free: 8.297 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.5846, allocations: 57.62 kB / 0.7968 GB, free: 8.234 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5847, allocations: 354.7 kB / 0.7971 GB, free: 7.879 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.5848, allocations: 34.81 kB / 0.7972 GB, free: 7.844 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.5849, allocations: 126.7 kB / 0.7973 GB, free: 7.684 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.585, allocations: 152.7 kB / 0.7974 GB, free: 7.504 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.585, allocations: 4 kB / 0.7974 GB, free: 7.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005687/0.5856, allocations: 290.3 kB / 0.7977 GB, free: 7.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5856, allocations: 4 kB / 0.7977 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5856, allocations: 4 kB / 0.7977 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008406/0.5865, allocations: 241.5 kB / 0.798 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5866, allocations: 59.89 kB / 0.798 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.5878, allocations: 1.417 MB / 0.7994 GB, free: 5.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.588, allocations: 48.44 kB / 0.7994 GB, free: 5.355 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.588, allocations: 11.94 kB / 0.7994 GB, free: 5.344 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.0001226/0.5882, allocations: 124.6 kB / 0.7996 GB, free: 5.211 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.5882, allocations: 39.89 kB / 0.7996 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.5883, allocations: 35.31 kB / 0.7996 GB, free: 5.137 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5883, allocations: 4 kB / 0.7996 GB, free: 5.133 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5883, allocations: 0 / 0.7996 GB, free: 5.133 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5883, allocations: 0 / 0.7996 GB, free: 5.133 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/0.589, allocations: 0.5362 MB / 0.8002 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.589, allocations: 0 / 0.8002 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.5891, allocations: 24.05 kB / 0.8002 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005921/0.5897, allocations: 252.1 kB / 0.8004 GB, free: 4.297 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5897, allocations: 4 kB / 0.8004 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.5911, allocations: 1.398 MB / 0.8018 GB, free: 2.801 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5911, allocations: 3.938 kB / 0.8018 GB, free: 2.797 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.5916, allocations: 377.1 kB / 0.8022 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.5917, allocations: 51.73 kB / 0.8022 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.5917, allocations: 4 kB / 0.8022 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5919, allocations: 30.91 kB / 0.8022 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.592, allocations: 15.92 kB / 0.8023 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.592, allocations: 9.297 kB / 0.8023 GB, free: 2.297 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001063/0.5921, allocations: 148.7 kB / 0.8024 GB, free: 2.148 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-08/0.5921, allocations: 0 / 0.8024 GB, free: 2.148 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003586/0.5925, allocations: 203.5 kB / 0.8026 GB, free: 1.949 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.000228/0.5927, allocations: 136.2 kB / 0.8027 GB, free: 1.809 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.5931, allocations: 247.1 kB / 0.803 GB, free: 1.555 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.5931, allocations: 4 kB / 0.803 GB, free: 1.551 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.5932, allocations: 180 kB / 0.8031 GB, free: 1.359 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.5937, allocations: 212.5 kB / 0.8033 GB, free: 1.184 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.5953, allocations: 0.8935 MB / 0.8042 GB, free: 256 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.353e-05/0.5954, allocations: 133.2 kB / 0.8043 GB, free: 104 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.5956, allocations: 68.69 kB / 0.8044 GB, free: 44 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.5959, allocations: 211.1 kB / 0.8046 GB, free: 15.84 MB / 0.7137 GB Notification: Performance of SimCode: time 1.463e-06/0.5959, allocations: 0 / 0.8046 GB, free: 15.84 MB / 0.7137 GB Notification: Performance of Templates: time 0.01273/0.6087, allocations: 10.14 MB / 0.8145 GB, free: 6.098 MB / 0.7137 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.642924403771758]