Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.006089/0.006089, allocations: 98.62 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 183.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 286.9 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9627/0.9627, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 100.1 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1572, allocations: 86.96 MB / 0.7659 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4893/0.6466, allocations: 190.6 MB / 0.9521 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00891/0.6555, allocations: 5.737 MB / 0.9577 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.6567, allocations: 47.69 kB / 0.9577 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.6584, allocations: 0.5747 MB / 0.9583 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.6623, allocations: 1.627 MB / 0.9598 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.6654, allocations: 1.222 MB / 0.961 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003226/0.6686, allocations: 2.562 MB / 0.9635 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.6699, allocations: 0.8739 MB / 0.9644 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.6719, allocations: 1.046 MB / 0.9654 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.6735, allocations: 0.8086 MB / 0.9662 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.6736, allocations: 96 kB / 0.9663 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.6761, allocations: 1.543 MB / 0.9678 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004111/0.6766, allocations: 398.9 kB / 0.9682 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006554/0.6772, allocations: 0.591 MB / 0.9688 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.6797, allocations: 2.025 MB / 0.9707 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6798, allocations: 0 / 0.9707 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6798, allocations: 0 / 0.9707 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.6798, allocations: 0 / 0.9707 GB, free: 1.188 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002212/0.682, allocations: 1.471 MB / 0.9722 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.682, allocations: 8.031 kB / 0.9722 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.6822, allocations: 130.5 kB / 0.9723 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.6847, allocations: 418.8 kB / 0.9727 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.6861, allocations: 0.8046 MB / 0.9735 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.6862, allocations: 65.98 kB / 0.9736 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.6863, allocations: 75.98 kB / 0.9736 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.6881, allocations: 0.9787 MB / 0.9746 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6881, allocations: 3.984 kB / 0.9746 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.6882, allocations: 32 kB / 0.9746 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.6883, allocations: 26 kB / 0.9746 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.6901, allocations: 0.8752 MB / 0.9755 GB, free: 12.19 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.005691/0.6958, allocations: 3.495 MB / 0.9789 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.6973, allocations: 0.6022 MB / 0.9795 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.6981, allocations: 339.3 kB / 0.9798 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.6983, allocations: 97.42 kB / 0.9799 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.6983, allocations: 47.16 kB / 0.98 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.403e-06/0.6983, allocations: 0 / 0.98 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.007482/0.7058, allocations: 2.404 MB / 0.9823 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.7059, allocations: 55.41 kB / 0.9824 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/0.7068, allocations: 0.8018 MB / 0.9831 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.7069, allocations: 37.7 kB / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.7072, allocations: 452.5 kB / 0.9836 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.7074, allocations: 150.7 kB / 0.9838 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.7076, allocations: 114.1 kB / 0.9839 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7077, allocations: 326 kB / 0.9842 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/0.7084, allocations: 300.9 kB / 0.9845 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/0.7093, allocations: 412 kB / 0.9849 GB, free: 2.238 MB / 0.7325 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.004945/0.7142, allocations: 1.886 MB / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7142, allocations: 0 / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003004/0.7172, allocations: 1.039 MB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7173, allocations: 8 kB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.7173, allocations: 0 / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/0.7178, allocations: 188.7 kB / 0.9879 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.7185, allocations: 147.8 kB / 0.988 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.7223, allocations: 2.241 MB / 0.9902 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008092/0.7231, allocations: 51.95 kB / 0.9903 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.7232, allocations: 25.48 kB / 0.9903 GB, free: 12.46 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 (59): * Single equations (assignments): 58 * 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.0003842/0.7236, allocations: 275.8 kB / 0.9906 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.7237, allocations: 95.38 kB / 0.9907 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.7239, allocations: 96.23 kB / 0.9907 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7239, allocations: 4 kB / 0.9908 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.7239, allocations: 4 kB / 0.9908 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002717/0.7267, allocations: 0.8957 MB / 0.9916 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.7316, allocations: 2.094 MB / 0.9937 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.7316, allocations: 3.938 kB / 0.9937 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.7322, allocations: 132.2 kB / 0.9938 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000515/0.7328, allocations: 185.6 kB / 0.994 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.7328, allocations: 19.98 kB / 0.994 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.7364, allocations: 2.188 MB / 0.9961 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.7364, allocations: 7.984 kB / 0.9961 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.74, allocations: 1.417 MB / 0.9975 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.7403, allocations: 240.4 kB / 0.9978 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7405, allocations: 12 kB / 0.9978 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.7413, allocations: 65.19 kB / 0.9978 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.7414, allocations: 39.83 kB / 0.9979 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.7414, allocations: 27.98 kB / 0.9979 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006751/0.7421, allocations: 0.5536 MB / 0.9984 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7421, allocations: 4 kB / 0.9984 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008958/0.743, allocations: 275.9 kB / 0.9987 GB, free: 3.504 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.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * 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.004225/0.7473, allocations: 2.064 MB / 1.001 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.7492, allocations: 0.8015 MB / 1.002 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7492, allocations: 3.938 kB / 1.002 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008966/0.7501, allocations: 471 kB / 1.002 GB, free: 92 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.7523, allocations: 0.5341 MB / 1.002 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.7669, allocations: 7.688 MB / 1.01 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.7676, allocations: 1.048 MB / 1.011 GB, free: 6.52 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006195/0.7682, allocations: 211.1 kB / 1.011 GB, free: 6.309 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/0.7686, allocations: 319.3 kB / 1.012 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of SimCode: time 3.11e-07/0.7686, allocations: 0 / 1.012 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7034/1.472, allocations: 27.85 MB / 1.039 GB, free: 10.69 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.83, allocations: 14.84 kB / 1.039 GB, free: 10.68 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)