Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.004875/0.004874, allocations: 101.3 kB / 15.88 MB, free: 6.312 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.001244/0.001244, allocations: 196.7 kB / 16.79 MB, free: 6.242 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.247/1.247, allocations: 222.9 MB / 240.5 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.651/0.651, allocations: 115.3 MB / 405.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 493 MB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.318, allocations: 76.17 MB / 0.5558 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5164/0.8345, allocations: 219.6 MB / 0.7703 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.8501, allocations: 13.85 MB / 0.7838 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.8525, allocations: 63.72 kB / 0.7839 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.8545, allocations: 0.6737 MB / 0.7845 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.8598, allocations: 2.036 MB / 0.7865 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.863, allocations: 1.051 MB / 0.7876 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005782/0.8688, allocations: 4.025 MB / 0.7915 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.8703, allocations: 1.035 MB / 0.7925 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005665/0.876, allocations: 2.236 MB / 0.7947 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002799/0.8788, allocations: 1.07 MB / 0.7957 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.8791, allocations: 64.5 kB / 0.7958 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.8827, allocations: 1.841 MB / 0.7976 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.8832, allocations: 396.8 kB / 0.798 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008657/0.8841, allocations: 0.6452 MB / 0.7986 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.8869, allocations: 2.118 MB / 0.8007 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8869, allocations: 0 / 0.8007 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.11e-07/0.8869, allocations: 0 / 0.8007 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8869, allocations: 0 / 0.8007 GB, free: 0.6758 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002181/0.8891, allocations: 1.654 MB / 0.8023 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.8891, allocations: 14.19 kB / 0.8023 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.8893, allocations: 143.2 kB / 0.8024 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.8914, allocations: 435.3 kB / 0.8028 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.8928, allocations: 0.8915 MB / 0.8037 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008577/0.8937, allocations: 243 kB / 0.804 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.8938, allocations: 89.22 kB / 0.804 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.8957, allocations: 1.202 MB / 0.8052 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.8957, allocations: 12.66 kB / 0.8052 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.618e-05/0.8958, allocations: 39.5 kB / 0.8053 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.8958, allocations: 36.72 kB / 0.8053 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.8975, allocations: 0.8974 MB / 0.8062 GB, free: 14.92 MB / 0.5919 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.00621/0.9037, allocations: 5.597 MB / 0.8116 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.9041, allocations: 257.9 kB / 0.8119 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.9043, allocations: 150.9 kB / 0.812 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.9045, allocations: 97.28 kB / 0.8121 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.9046, allocations: 43.19 kB / 0.8122 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006651/0.9052, allocations: 132.4 kB / 0.8123 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 2.454e-06/0.9053, allocations: 0 / 0.8123 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001144/0.9064, allocations: 469.4 kB / 0.8127 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/0.9065, allocations: 183.5 kB / 0.8129 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.9083, allocations: 1.302 MB / 0.8142 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.9084, allocations: 32.83 kB / 0.8142 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.9088, allocations: 0.6128 MB / 0.8148 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.9088, allocations: 71.61 kB / 0.8149 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.909, allocations: 135.6 kB / 0.815 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9091, allocations: 327.5 kB / 0.8153 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.9098, allocations: 241 kB / 0.8156 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008287/0.9106, allocations: 0.5217 MB / 0.8161 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.9116, allocations: 0.6468 MB / 0.8167 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.9117, allocations: 3.406 kB / 0.8167 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001683/0.9133, allocations: 0.8367 MB / 0.8175 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.9134, allocations: 11.25 kB / 0.8175 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.9134, allocations: 7.656 kB / 0.8175 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.9134, allocations: 17.91 kB / 0.8175 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.9141, allocations: 165.8 kB / 0.8177 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.9141, allocations: 20.52 kB / 0.8177 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.9155, allocations: 177.5 kB / 0.8179 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.9156, allocations: 36.73 kB / 0.8179 GB, free: 8.629 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004491/0.916, allocations: 295.9 kB / 0.8182 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.9163, allocations: 119.6 kB / 0.8183 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.9168, allocations: 277.6 kB / 0.8186 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.9168, allocations: 7.641 kB / 0.8186 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9168, allocations: 5.844 kB / 0.8186 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9168, allocations: 1.875 kB / 0.8186 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.9189, allocations: 1.683 MB / 0.8202 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.919, allocations: 2.969 kB / 0.8203 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.9192, allocations: 40.69 kB / 0.8203 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.9192, allocations: 5.875 kB / 0.8203 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.9192, allocations: 7.156 kB / 0.8203 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9192, allocations: 11.12 kB / 0.8203 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9192, allocations: 5.5 kB / 0.8203 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.9197, allocations: 498.4 kB / 0.8208 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.9201, allocations: 236.4 kB / 0.821 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.9202, allocations: 8.594 kB / 0.821 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000731/0.9209, allocations: 66.36 kB / 0.8211 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.921, allocations: 22.25 kB / 0.8211 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.921, allocations: 11.47 kB / 0.8211 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001362/0.9224, allocations: 0.9126 MB / 0.822 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9224, allocations: 0 / 0.822 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008375/0.9232, allocations: 279.4 kB / 0.8223 GB, free: 6.391 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.9243, allocations: 1.137 MB / 0.8234 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009611/0.9252, allocations: 434.6 kB / 0.8238 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9253, allocations: 0.75 kB / 0.8238 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.9254, allocations: 103.5 kB / 0.8239 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.9277, allocations: 0.5533 MB / 0.8244 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.9402, allocations: 8.874 MB / 0.8331 GB, free: 260 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.9408, allocations: 1.114 MB / 0.8342 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000926/0.9418, allocations: 224.2 kB / 0.8344 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.9422, allocations: 419.8 kB / 0.8348 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.9422, allocations: 4 kB / 0.8348 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.992, allocations: 26.15 MB / 0.8604 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.9923, allocations: 284.2 kB / 0.8606 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/3.154, allocations: 0 / 0.8606 GB, free: 5.727 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)