Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_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.00125/0.00125, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001402/0.001402, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.8/1.8, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.000546/0.0005461, allocations: 22.59 kB / 0.6736 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2693, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5817/0.8511, allocations: 182.1 MB / 0.965 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008137/0.8593, allocations: 5.592 MB / 0.9705 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.8606, allocations: 31.62 kB / 0.9705 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.8624, allocations: 0.5699 MB / 0.9711 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.8674, allocations: 1.648 MB / 0.9727 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.8708, allocations: 1.178 MB / 0.9738 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.8738, allocations: 1.654 MB / 0.9754 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.8749, allocations: 0.7327 MB / 0.9762 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.8763, allocations: 0.7714 MB / 0.9769 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007309/0.877, allocations: 0.5751 MB / 0.9775 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.801e-05/0.8772, allocations: 41.25 kB / 0.9775 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.8787, allocations: 0.6134 MB / 0.9781 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.879, allocations: 349.8 kB / 0.9784 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.8795, allocations: 256.9 kB / 0.9787 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.8807, allocations: 1.379 MB / 0.98 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8807, allocations: 0 / 0.98 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8807, allocations: 2.531 kB / 0.98 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.8807, allocations: 0 / 0.98 GB, free: 20.66 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00184/0.8826, allocations: 1.262 MB / 0.9813 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.8826, allocations: 9.562 kB / 0.9813 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.8828, allocations: 144.2 kB / 0.9814 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.8846, allocations: 315.8 kB / 0.9817 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.8858, allocations: 0.7618 MB / 0.9825 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.8858, allocations: 70.28 kB / 0.9825 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.8859, allocations: 88.45 kB / 0.9826 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.8873, allocations: 0.9075 MB / 0.9835 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.8873, allocations: 3.953 kB / 0.9835 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.8874, allocations: 36.56 kB / 0.9835 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.8874, allocations: 32.56 kB / 0.9836 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.8886, allocations: 0.8352 MB / 0.9844 GB, free: 19.42 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.004785/0.8934, allocations: 3.541 MB / 0.9878 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.8941, allocations: 0.4948 MB / 0.9883 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.8942, allocations: 13.12 kB / 0.9883 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.8942, allocations: 44.56 kB / 0.9884 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.385e-06/0.8942, allocations: 3.938 kB / 0.9884 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003329/0.8975, allocations: 1.895 MB / 0.9902 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.8976, allocations: 61.86 kB / 0.9903 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/0.8985, allocations: 0.7937 MB / 0.9911 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.8985, allocations: 37.8 kB / 0.9911 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.8988, allocations: 473.6 kB / 0.9916 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.899, allocations: 173.8 kB / 0.9917 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.899, allocations: 11.72 kB / 0.9917 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8992, allocations: 331.6 kB / 0.992 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.8995, allocations: 248.8 kB / 0.9923 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.9, allocations: 379.2 kB / 0.9926 GB, free: 15.22 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.002515/0.9025, allocations: 0.9892 MB / 0.9936 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9025, allocations: 0 / 0.9936 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001185/0.9037, allocations: 0.7934 MB / 0.9944 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9038, allocations: 5.719 kB / 0.9944 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9038, allocations: 3.219 kB / 0.9944 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.9039, allocations: 66.12 kB / 0.9945 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.9046, allocations: 164.9 kB / 0.9946 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.9067, allocations: 2.922 MB / 0.9975 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/0.9077, allocations: 60.77 kB / 0.9975 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.9077, allocations: 26.88 kB / 0.9975 GB, free: 12 MB / 0.7325 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.0004354/0.9082, allocations: 298.3 kB / 0.9978 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.9083, allocations: 89.69 kB / 0.9979 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.9084, allocations: 103.4 kB / 0.998 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.9084, allocations: 9.766 kB / 0.998 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9085, allocations: 2.438 kB / 0.998 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009066/0.9094, allocations: 0.8423 MB / 0.9989 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.9117, allocations: 1.796 MB / 1.001 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.9117, allocations: 3.25 kB / 1.001 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/0.9123, allocations: 146.3 kB / 1.001 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.362e-05/0.9124, allocations: 43.83 kB / 1.001 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.9124, allocations: 12.5 kB / 1.001 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.9135, allocations: 1.492 MB / 1.002 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.9135, allocations: 7.797 kB / 1.002 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.9149, allocations: 1.26 MB / 1.003 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.9154, allocations: 235.4 kB / 1.004 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.9155, allocations: 16.17 kB / 1.004 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.9162, allocations: 65.94 kB / 1.004 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.9163, allocations: 42.58 kB / 1.004 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.9164, allocations: 29.23 kB / 1.004 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006767/0.9171, allocations: 0.5518 MB / 1.004 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9171, allocations: 3.938 kB / 1.004 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008262/0.9179, allocations: 271.4 kB / 1.005 GB, free: 8.07 MB / 0.7325 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 (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.0023/0.9202, allocations: 2.791 MB / 1.007 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.9215, allocations: 0.8048 MB / 1.008 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.9215, allocations: 2.938 kB / 1.008 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.922, allocations: 411.1 kB / 1.009 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.9244, allocations: 0.5823 MB / 1.009 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/0.933, allocations: 7.302 MB / 1.016 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.9338, allocations: 1.107 MB / 1.017 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009491/0.9347, allocations: 216.3 kB / 1.018 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.9351, allocations: 339.7 kB / 1.018 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of SimCode: time 7.71e-07/0.9351, allocations: 0 / 1.018 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5739/1.509, allocations: 26.67 MB / 1.044 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/1.509, allocations: 271.9 kB / 1.044 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.886, allocations: 0 / 1.044 GB, free: 8.719 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) Environment - environmentSimulation: