Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7774/0.7774, allocations: 143.8 MB / 159.1 MB, free: 6.504 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 178.3 kB / 192 MB, free: 6.715 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.7 MB / 450.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007935/0.0007936, allocations: 107.5 kB / 0.5211 GB, free: 1.598 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 280.9 kB / 0.6025 GB, free: 49.26 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007181/0.0007181, allocations: 19.12 kB / 0.6948 GB, free: 59.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1761, allocations: 82.45 MB / 0.7753 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5649/0.741, allocations: 160.5 MB / 0.932 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008369/0.7494, allocations: 6.141 MB / 0.938 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.7505, allocations: 21.5 kB / 0.9381 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.7517, allocations: 300.6 kB / 0.9383 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.7546, allocations: 0.9323 MB / 0.9392 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.757, allocations: 0.7273 MB / 0.94 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002757/0.7597, allocations: 1.781 MB / 0.9417 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.7604, allocations: 408.7 kB / 0.9421 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.7618, allocations: 0.5907 MB / 0.9427 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.763, allocations: 453.4 kB / 0.9431 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.7631, allocations: 19.97 kB / 0.9431 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.7653, allocations: 0.9936 MB / 0.9441 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.7655, allocations: 172.7 kB / 0.9443 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.7658, allocations: 322.2 kB / 0.9446 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.7673, allocations: 1.131 MB / 0.9457 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.7673, allocations: 3.312 kB / 0.9457 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7674, allocations: 0 / 0.9457 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.7674, allocations: 0 / 0.9457 GB, free: 4.879 MB / 0.5573 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.001594/0.769, allocations: 0.8411 MB / 0.9465 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.769, allocations: 14.72 kB / 0.9465 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.7706, allocations: 282 kB / 0.9468 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.7715, allocations: 487 kB / 0.9472 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.7718, allocations: 101.5 kB / 0.9473 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.7719, allocations: 39.31 kB / 0.9474 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.7731, allocations: 0.6409 MB / 0.948 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.7732, allocations: 3.938 kB / 0.948 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.7732, allocations: 15.62 kB / 0.948 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.7733, allocations: 20.91 kB / 0.948 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.7746, allocations: 0.5847 MB / 0.9486 GB, free: 3.391 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003862/0.7785, allocations: 2.309 MB / 0.9509 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009209/0.7794, allocations: 311.9 kB / 0.9512 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.7799, allocations: 191.5 kB / 0.9513 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.78, allocations: 2.656 kB / 0.9513 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.78, allocations: 40.97 kB / 0.9514 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.78, allocations: 4 kB / 0.9514 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.004988/0.785, allocations: 1.187 MB / 0.9525 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.7851, allocations: 78.97 kB / 0.9526 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.7857, allocations: 0.5482 MB / 0.9532 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.7857, allocations: 25.7 kB / 0.9532 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.7859, allocations: 306.3 kB / 0.9535 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.786, allocations: 43.58 kB / 0.9535 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.786, allocations: 6.438 kB / 0.9535 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7862, allocations: 355.2 kB / 0.9539 GB, free: 384 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.7867, allocations: 208.4 kB / 0.9541 GB, free: 332 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.7874, allocations: 291.6 kB / 0.9543 GB, free: 180 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.7885, allocations: 448.2 kB / 0.9548 GB, free: 0 / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.7885, allocations: 4.969 kB / 0.9548 GB, free: 0 / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002581/0.7911, allocations: 0.7868 MB / 0.9555 GB, free: 15.74 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7911, allocations: 5.875 kB / 0.9555 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7911, allocations: 3.344 kB / 0.9555 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.7917, allocations: 190.7 kB / 0.9557 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.7921, allocations: 82.41 kB / 0.9558 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.7962, allocations: 2.191 MB / 0.9579 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.7968, allocations: 92.47 kB / 0.958 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.7969, allocations: 8.812 kB / 0.958 GB, free: 14.07 MB / 0.573 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.0002744/0.7972, allocations: 191.3 kB / 0.9582 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.579e-05/0.7972, allocations: 54.75 kB / 0.9583 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.477e-05/0.7973, allocations: 50.12 kB / 0.9583 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7974, allocations: 6.922 kB / 0.9583 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7974, allocations: 4.125 kB / 0.9583 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7974, allocations: 4 kB / 0.9583 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.8004, allocations: 1.188 MB / 0.9595 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8004, allocations: 0 / 0.9595 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.8007, allocations: 49.39 kB / 0.9595 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.8012, allocations: 184.4 kB / 0.9597 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.8012, allocations: 10.92 kB / 0.9597 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003179/0.8044, allocations: 2.059 MB / 0.9617 GB, free: 11.69 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8044, allocations: 0 / 0.9617 GB, free: 11.69 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.8068, allocations: 0.7589 MB / 0.9625 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.8071, allocations: 161.6 kB / 0.9626 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.8072, allocations: 6.125 kB / 0.9626 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.8078, allocations: 71.11 kB / 0.9627 GB, free: 11.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.8079, allocations: 21.06 kB / 0.9627 GB, free: 11.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.8079, allocations: 15.08 kB / 0.9627 GB, free: 11.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004971/0.8084, allocations: 387 kB / 0.9631 GB, free: 11.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8085, allocations: 0 / 0.9631 GB, free: 11.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007082/0.8092, allocations: 184.9 kB / 0.9633 GB, free: 11 MB / 0.573 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.0004625/0.8096, allocations: 186.4 kB / 0.9635 GB, free: 10.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.8117, allocations: 0.6398 MB / 0.9641 GB, free: 10.63 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8118, allocations: 384 / 0.9641 GB, free: 10.63 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.8125, allocations: 327 kB / 0.9644 GB, free: 10.45 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.8139, allocations: 298.6 kB / 0.9647 GB, free: 10.35 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.817, allocations: 1.306 MB / 0.966 GB, free: 9.578 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.8175, allocations: 0.8583 MB / 0.9668 GB, free: 8.809 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004663/0.818, allocations: 106.5 kB / 0.9669 GB, free: 8.758 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/0.8181, allocations: 34.22 kB / 0.9669 GB, free: 8.75 MB / 0.573 GB Notification: Performance of SimCode: time 8.61e-07/0.8181, allocations: 0 / 0.9669 GB, free: 8.75 MB / 0.573 GB Notification: Performance of Templates: time 0.02008/0.8382, allocations: 11.69 MB / 0.9784 GB, free: 2.969 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)