Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json 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.000975/0.000975, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.000959/0.000959, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.8978/0.8978, allocations: 177.1 MB / 203.4 MB, free: 5.18 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.781/0.781, allocations: 154.6 MB / 414.5 MB, free: 0.6133 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.5203 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.881e-05, allocations: 3.297 kB / 0.5203 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1419/0.142, allocations: 148.3 MB / 0.6651 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004779/0.1467, allocations: 3.443 MB / 0.6685 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.1474, allocations: 31.75 kB / 0.6685 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.148, allocations: 170.7 kB / 0.6687 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1494, allocations: 0.8002 MB / 0.6695 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.1511, allocations: 0.7081 MB / 0.6701 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1526, allocations: 1.309 MB / 0.6714 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.1531, allocations: 396.1 kB / 0.6718 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.1544, allocations: 0.7867 MB / 0.6726 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.1548, allocations: 418.8 kB / 0.673 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.547e-05/0.1549, allocations: 52 kB / 0.673 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00076/0.1556, allocations: 0.5728 MB / 0.6736 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1558, allocations: 235.3 kB / 0.6738 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.1559, allocations: 223.5 kB / 0.674 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.157, allocations: 0.8567 MB / 0.6748 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.157, allocations: 0 / 0.6748 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.734e-06/0.157, allocations: 0 / 0.6748 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.157, allocations: 0 / 0.6748 GB, free: 3.562 MB / 0.6355 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.001124/0.1581, allocations: 0.9781 MB / 0.6758 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1581, allocations: 8.031 kB / 0.6758 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007484/0.1589, allocations: 276 kB / 0.6761 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.1594, allocations: 425.1 kB / 0.6765 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.1594, allocations: 37.12 kB / 0.6765 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.1594, allocations: 44 kB / 0.6766 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.1602, allocations: 0.7166 MB / 0.6773 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1602, allocations: 0 / 0.6773 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.1602, allocations: 23.98 kB / 0.6773 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.1603, allocations: 21 kB / 0.6773 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.1606, allocations: 209.7 kB / 0.6775 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2674/0.428, allocations: 1.827 MB / 0.6793 GB, free: 59.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.4283, allocations: 108.6 kB / 0.6794 GB, free: 59.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.4284, allocations: 45.42 kB / 0.6794 GB, free: 59.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.4284, allocations: 3.188 kB / 0.6794 GB, free: 59.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.4284, allocations: 43.42 kB / 0.6795 GB, free: 59.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.4284, allocations: 1.344 kB / 0.6795 GB, free: 59.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0019/0.4303, allocations: 495.6 kB / 0.6799 GB, free: 59.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.4304, allocations: 84.95 kB / 0.68 GB, free: 59.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.4307, allocations: 431.1 kB / 0.6804 GB, free: 59.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4307, allocations: 33.81 kB / 0.6805 GB, free: 59.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.4308, allocations: 371.4 kB / 0.6808 GB, free: 59.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.4309, allocations: 40.12 kB / 0.6809 GB, free: 59.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.431, allocations: 60.3 kB / 0.6809 GB, free: 59.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.431, allocations: 0.523 MB / 0.6814 GB, free: 58.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4311, allocations: 39.55 kB / 0.6815 GB, free: 58.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.4313, allocations: 177.9 kB / 0.6816 GB, free: 58.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.4315, allocations: 182.7 kB / 0.6818 GB, free: 58.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.4315, allocations: 0.75 kB / 0.6818 GB, free: 58.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008774/0.4324, allocations: 368 kB / 0.6822 GB, free: 58.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.4324, allocations: 7.109 kB / 0.6822 GB, free: 58.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4324, allocations: 3.688 kB / 0.6822 GB, free: 58.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008341/0.4332, allocations: 247.8 kB / 0.6824 GB, free: 58.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.4334, allocations: 56.7 kB / 0.6825 GB, free: 58.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.4349, allocations: 2.045 MB / 0.6845 GB, free: 56.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.4352, allocations: 45.48 kB / 0.6845 GB, free: 56.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.4352, allocations: 9.922 kB / 0.6845 GB, free: 56.74 MB / 0.6355 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.4353, allocations: 178.2 kB / 0.6847 GB, free: 56.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.4354, allocations: 43.39 kB / 0.6847 GB, free: 56.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.4355, allocations: 47.97 kB / 0.6848 GB, free: 56.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4355, allocations: 3.812 kB / 0.6848 GB, free: 56.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.4355, allocations: 0 / 0.6848 GB, free: 56.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4355, allocations: 0 / 0.6848 GB, free: 56.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4365, allocations: 0.7047 MB / 0.6855 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4365, allocations: 0.6562 kB / 0.6855 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.4366, allocations: 35.06 kB / 0.6855 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/0.4373, allocations: 232.9 kB / 0.6857 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.4374, allocations: 10.89 kB / 0.6857 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.4385, allocations: 2.004 MB / 0.6877 GB, free: 54.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4385, allocations: 0 / 0.6877 GB, free: 54.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007556/0.4393, allocations: 434 kB / 0.6881 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4394, allocations: 75.91 kB / 0.6882 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.4395, allocations: 7.281 kB / 0.6882 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.4397, allocations: 29.44 kB / 0.6882 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.4398, allocations: 22.73 kB / 0.6882 GB, free: 54.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.4398, allocations: 16.67 kB / 0.6883 GB, free: 54.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001793/0.44, allocations: 275.5 kB / 0.6885 GB, free: 54.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.44, allocations: 0 / 0.6885 GB, free: 54.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005268/0.4405, allocations: 197.6 kB / 0.6887 GB, free: 54.08 MB / 0.6355 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/0.4407, allocations: 146.2 kB / 0.6888 GB, free: 54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004874/0.4412, allocations: 335.2 kB / 0.6892 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4412, allocations: 3.406 kB / 0.6892 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.4414, allocations: 241.4 kB / 0.6894 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.4421, allocations: 209.3 kB / 0.6896 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.444, allocations: 0.8945 MB / 0.6905 GB, free: 53.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.711e-05/0.4441, allocations: 127.9 kB / 0.6906 GB, free: 53.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.4443, allocations: 71.8 kB / 0.6907 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.4444, allocations: 35.56 kB / 0.6907 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/0.4444, allocations: 0 / 0.6907 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.01284/0.4572, allocations: 10.25 MB / 0.7007 GB, free: 52.41 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.294630009215325]