Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 186.1 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 72.91 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2213, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6465/0.8678, allocations: 190.6 MB / 0.9697 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009599/0.8775, allocations: 5.672 MB / 0.9753 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.8792, allocations: 38.5 kB / 0.9753 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.8808, allocations: 0.5745 MB / 0.9759 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.8859, allocations: 1.826 MB / 0.9776 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.8893, allocations: 1.177 MB / 0.9788 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004132/0.8934, allocations: 2.928 MB / 0.9817 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.8948, allocations: 0.9509 MB / 0.9826 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.8966, allocations: 1.051 MB / 0.9836 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.8982, allocations: 0.9145 MB / 0.9845 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.8983, allocations: 107.4 kB / 0.9846 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.9012, allocations: 1.433 MB / 0.986 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.9016, allocations: 456.4 kB / 0.9864 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006751/0.9023, allocations: 0.6482 MB / 0.9871 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.9048, allocations: 2.133 MB / 0.9892 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.9048, allocations: 0 / 0.9892 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9048, allocations: 0 / 0.9892 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.9049, allocations: 0 / 0.9892 GB, free: 9.188 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002183/0.9071, allocations: 1.507 MB / 0.9906 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.9071, allocations: 9.375 kB / 0.9906 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.9073, allocations: 139.8 kB / 0.9908 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.9091, allocations: 310.9 kB / 0.9911 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.9103, allocations: 0.8483 MB / 0.9919 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.9103, allocations: 60.16 kB / 0.9919 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9104, allocations: 85.25 kB / 0.992 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.9118, allocations: 0.9134 MB / 0.9929 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.9119, allocations: 0 / 0.9929 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.9119, allocations: 38.53 kB / 0.993 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.912, allocations: 29.38 kB / 0.993 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.9133, allocations: 0.8271 MB / 0.9938 GB, free: 6.176 MB / 0.7325 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.004791/0.9181, allocations: 3.488 MB / 0.9972 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.9188, allocations: 0.5067 MB / 0.9977 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/0.9192, allocations: 294.5 kB / 0.998 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.9194, allocations: 101.7 kB / 0.9981 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.9194, allocations: 44.25 kB / 0.9981 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.9194, allocations: 4 kB / 0.9981 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003653/0.9231, allocations: 1.913 MB / 1 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.9231, allocations: 56.97 kB / 1 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009157/0.9241, allocations: 0.7991 MB / 1.001 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.9241, allocations: 40.45 kB / 1.001 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.9245, allocations: 471.5 kB / 1.001 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.9247, allocations: 170.6 kB / 1.001 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.9249, allocations: 114.3 kB / 1.002 GB, free: 460 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.925, allocations: 335.1 kB / 1.002 GB, free: 124 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.9254, allocations: 241.7 kB / 1.002 GB, free: 4 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.9259, allocations: 363.4 kB / 1.002 GB, free: 15.75 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.9293, allocations: 1.525 MB / 1.004 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9293, allocations: 2.062 kB / 1.004 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001215/0.9305, allocations: 0.7849 MB / 1.005 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.9306, allocations: 11.27 kB / 1.005 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.9306, allocations: 4.781 kB / 1.005 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002772/0.9309, allocations: 97.44 kB / 1.005 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.9314, allocations: 144 kB / 1.005 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.9345, allocations: 3.289 MB / 1.008 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008389/0.9353, allocations: 39.05 kB / 1.008 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.9354, allocations: 21.62 kB / 1.008 GB, free: 11.17 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005055/0.9359, allocations: 299.6 kB / 1.009 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.9361, allocations: 90.44 kB / 1.009 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.9363, allocations: 99.88 kB / 1.009 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.9363, allocations: 5.75 kB / 1.009 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9363, allocations: 0 / 1.009 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.9373, allocations: 0.8479 MB / 1.01 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.9399, allocations: 1.785 MB / 1.011 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.94, allocations: 3.094 kB / 1.011 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.9405, allocations: 137.9 kB / 1.011 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.9407, allocations: 71.55 kB / 1.011 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.9408, allocations: 11.78 kB / 1.012 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.9423, allocations: 1.788 MB / 1.013 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.9423, allocations: 6.656 kB / 1.013 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.9438, allocations: 1.092 MB / 1.014 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.9442, allocations: 239.3 kB / 1.015 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.9443, allocations: 12.34 kB / 1.015 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/0.9449, allocations: 39.16 kB / 1.015 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.9451, allocations: 49.83 kB / 1.015 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.9451, allocations: 28.17 kB / 1.015 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006446/0.9458, allocations: 0.5538 MB / 1.015 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9458, allocations: 0 / 1.015 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008306/0.9466, allocations: 279.1 kB / 1.015 GB, free: 5.809 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (45): * Single equations (assignments): 44 * 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.002073/0.9487, allocations: 1.736 MB / 1.017 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.9499, allocations: 0.8119 MB / 1.018 GB, free: 4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.9499, allocations: 2.438 kB / 1.018 GB, free: 4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005895/0.9505, allocations: 407.3 kB / 1.018 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.9531, allocations: 0.6088 MB / 1.019 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/0.962, allocations: 6.923 MB / 1.026 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.9627, allocations: 1.085 MB / 1.027 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008185/0.9636, allocations: 219.3 kB / 1.027 GB, free: 14 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.964, allocations: 343.3 kB / 1.027 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of SimCode: time 8.52e-07/0.964, allocations: 0 / 1.027 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05398/1.018, allocations: 27.81 MB / 1.054 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.71, allocations: 15.67 kB / 1.054 GB, free: 2.336 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)