Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.001022/0.001022, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001239/0.001239, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.112/1.112, allocations: 143.4 MB / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003227, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1956, allocations: 83.42 MB / 0.5975 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.7433/0.939, allocations: 201.6 MB / 0.7944 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00992/0.949, allocations: 5.411 MB / 0.7997 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.9504, allocations: 35.81 kB / 0.7997 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.9518, allocations: 405.4 kB / 0.8001 GB, free: 12.55 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003969/0.9557, allocations: 1.365 MB / 0.8014 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.9584, allocations: 0.8504 MB / 0.8023 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004264/0.9627, allocations: 3.453 MB / 0.8056 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.9641, allocations: 0.7221 MB / 0.8063 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.9662, allocations: 0.8907 MB / 0.8072 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.9681, allocations: 0.8795 MB / 0.8081 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.9685, allocations: 44 kB / 0.8081 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.9709, allocations: 0.7014 MB / 0.8088 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006624/0.9716, allocations: 390.8 kB / 0.8092 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005855/0.9722, allocations: 257.1 kB / 0.8094 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.9744, allocations: 1.547 MB / 0.8109 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9745, allocations: 0 / 0.8109 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9745, allocations: 0 / 0.8109 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.56e-05/0.9745, allocations: 4 kB / 0.8109 GB, free: 1.441 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002609/0.9772, allocations: 1.289 MB / 0.8122 GB, free: 104 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.9772, allocations: 12.03 kB / 0.8122 GB, free: 92 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004184/0.9776, allocations: 139.4 kB / 0.8123 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.98, allocations: 325.3 kB / 0.8126 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.9818, allocations: 0.7895 MB / 0.8134 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.9818, allocations: 66 kB / 0.8135 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.9821, allocations: 87.91 kB / 0.8136 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.984, allocations: 0.9131 MB / 0.8144 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.9841, allocations: 0 / 0.8144 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.9842, allocations: 39.95 kB / 0.8145 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.9842, allocations: 37.92 kB / 0.8145 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.9858, allocations: 0.8393 MB / 0.8153 GB, free: 12.81 MB / 0.6387 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.006304/0.9921, allocations: 3.545 MB / 0.8188 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008554/0.993, allocations: 0.4906 MB / 0.8193 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.9935, allocations: 303 kB / 0.8196 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.9937, allocations: 101.5 kB / 0.8197 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.9938, allocations: 43 kB / 0.8197 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 4.779e-06/0.9938, allocations: 4 kB / 0.8197 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.004288/0.9981, allocations: 1.895 MB / 0.8216 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/0.9982, allocations: 59.84 kB / 0.8216 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.9996, allocations: 0.8019 MB / 0.8224 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.9998, allocations: 37.7 kB / 0.8224 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/1, allocations: 471.3 kB / 0.8229 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/1.001, allocations: 173.5 kB / 0.8231 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/1.001, allocations: 16 kB / 0.8231 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.001, allocations: 329.9 kB / 0.8234 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/1.001, allocations: 249.2 kB / 0.8236 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/1.002, allocations: 392.6 kB / 0.824 GB, free: 3.5 MB / 0.6387 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.002916/1.005, allocations: 0.9941 MB / 0.825 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.005, allocations: 4 kB / 0.825 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001526/1.006, allocations: 0.7965 MB / 0.8257 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.006, allocations: 8 kB / 0.8258 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.006, allocations: 4 kB / 0.8258 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/1.007, allocations: 69.61 kB / 0.8258 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/1.007, allocations: 163.8 kB / 0.826 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/1.01, allocations: 2.878 MB / 0.8288 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009688/1.011, allocations: 73.12 kB / 0.8289 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/1.011, allocations: 28 kB / 0.8289 GB, free: 14.2 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005647/1.012, allocations: 301.6 kB / 0.8292 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/1.012, allocations: 90.88 kB / 0.8293 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/1.012, allocations: 100.7 kB / 0.8294 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.012, allocations: 14.44 kB / 0.8294 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.012, allocations: 0 / 0.8294 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/1.013, allocations: 0.8466 MB / 0.8302 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/1.016, allocations: 1.803 MB / 0.832 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.016, allocations: 7.938 kB / 0.832 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/1.017, allocations: 144.2 kB / 0.8321 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/1.017, allocations: 36.78 kB / 0.8321 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/1.017, allocations: 19.98 kB / 0.8322 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.018, allocations: 1.472 MB / 0.8336 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/1.018, allocations: 4 kB / 0.8336 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/1.02, allocations: 1.086 MB / 0.8347 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/1.021, allocations: 231.9 kB / 0.8349 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/1.021, allocations: 23.55 kB / 0.8349 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/1.022, allocations: 66.05 kB / 0.835 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.022, allocations: 43.84 kB / 0.835 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/1.022, allocations: 31.98 kB / 0.835 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008116/1.023, allocations: 0.5537 MB / 0.8356 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/1.023, allocations: 0 / 0.8356 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001046/1.024, allocations: 280 kB / 0.8358 GB, free: 6.664 MB / 0.6544 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002287/1.026, allocations: 1.714 MB / 0.8375 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001397/1.027, allocations: 0.8008 MB / 0.8383 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.027, allocations: 8 kB / 0.8383 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/1.028, allocations: 410.2 kB / 0.8387 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.031, allocations: 0.5818 MB / 0.8393 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009598/1.04, allocations: 5.448 MB / 0.8446 GB, free: 13.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/1.041, allocations: 1.091 MB / 0.8457 GB, free: 12.31 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001033/1.042, allocations: 215.9 kB / 0.8459 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/1.043, allocations: 343.3 kB / 0.8462 GB, free: 11.76 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/1.043, allocations: 0 / 0.8462 GB, free: 11.76 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3419/1.385, allocations: 26.86 MB / 0.8724 GB, free: 202 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.385, allocations: 293.8 kB / 0.8727 GB, free: 201.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.785, allocations: 0 / 0.8727 GB, free: 201.6 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) Environment - environmentSimulation: