Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006335/0.006335, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001488/0.001488, allocations: 188.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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 283.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9188/0.9188, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 103.8 kB / 0.6815 GB, free: 6.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4433, allocations: 86.97 MB / 0.7664 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.6634/1.107, allocations: 221.9 MB / 0.9831 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01826/1.125, allocations: 13.77 MB / 0.9965 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/1.128, allocations: 64.94 kB / 0.9966 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/1.131, allocations: 0.809 MB / 0.9974 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006009/1.137, allocations: 2.169 MB / 0.9995 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/1.14, allocations: 1.176 MB / 1.001 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004429/1.144, allocations: 2.884 MB / 1.003 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/1.146, allocations: 1.203 MB / 1.005 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006326/1.152, allocations: 2.44 MB / 1.007 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/1.155, allocations: 1.021 MB / 1.008 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004908/1.156, allocations: 99.09 kB / 1.008 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/1.159, allocations: 1.589 MB / 1.01 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007727/1.16, allocations: 432.4 kB / 1.01 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/1.162, allocations: 0.6828 MB / 1.011 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004896/1.167, allocations: 2.096 MB / 1.013 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.167, allocations: 0.9062 kB / 1.013 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/1.167, allocations: 3.219 kB / 1.013 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.108e-05/1.167, allocations: 0 / 1.013 GB, free: 0.7461 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.004118/1.171, allocations: 1.7 MB / 1.014 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.171, allocations: 11.72 kB / 1.014 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/1.174, allocations: 442.1 kB / 1.015 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/1.176, allocations: 0.9553 MB / 1.016 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/1.176, allocations: 73.09 kB / 1.016 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/1.176, allocations: 90.53 kB / 1.016 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/1.178, allocations: 1.219 MB / 1.017 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/1.179, allocations: 5.531 kB / 1.017 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/1.179, allocations: 38.38 kB / 1.017 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/1.179, allocations: 38.47 kB / 1.017 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/1.181, allocations: 0.8711 MB / 1.018 GB, free: 15 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.007963/1.189, allocations: 6.037 MB / 1.024 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/1.189, allocations: 262.6 kB / 1.024 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/1.19, allocations: 142.4 kB / 1.024 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/1.19, allocations: 95.53 kB / 1.024 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.19, allocations: 47.5 kB / 1.024 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008523/1.191, allocations: 119.9 kB / 1.025 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 4.819e-06/1.191, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001302/1.192, allocations: 489.5 kB / 1.025 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/1.192, allocations: 184.3 kB / 1.025 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/1.194, allocations: 1.304 MB / 1.027 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/1.194, allocations: 31.83 kB / 1.027 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/1.195, allocations: 0.6336 MB / 1.027 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/1.195, allocations: 86.03 kB / 1.027 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/1.195, allocations: 138 kB / 1.027 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.195, allocations: 331.4 kB / 1.028 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/1.196, allocations: 235.2 kB / 1.028 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/1.197, allocations: 0.5583 MB / 1.028 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/1.198, allocations: 0.6908 MB / 1.029 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.198, allocations: 2.562 kB / 1.029 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001923/1.2, allocations: 0.8593 MB / 1.03 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.2, allocations: 12.59 kB / 1.03 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/1.2, allocations: 10.09 kB / 1.03 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/1.2, allocations: 13.72 kB / 1.03 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/1.201, allocations: 179.8 kB / 1.03 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.201, allocations: 21.36 kB / 1.03 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.202, allocations: 124.6 kB / 1.03 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/1.202, allocations: 39.8 kB / 1.03 GB, free: 8.605 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0004477/1.202, allocations: 298.3 kB / 1.031 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/1.203, allocations: 124.8 kB / 1.031 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/1.203, allocations: 285.6 kB / 1.031 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.203, allocations: 3.906 kB / 1.031 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.203, allocations: 1.344 kB / 1.031 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.203, allocations: 4.031 kB / 1.031 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/1.206, allocations: 1.68 MB / 1.033 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.206, allocations: 6.656 kB / 1.033 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.206, allocations: 38.52 kB / 1.033 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.206, allocations: 4.938 kB / 1.033 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.206, allocations: 13.59 kB / 1.033 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.206, allocations: 10.91 kB / 1.033 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.206, allocations: 5.25 kB / 1.033 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/1.206, allocations: 0.4974 MB / 1.033 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/1.207, allocations: 238.5 kB / 1.033 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/1.207, allocations: 16.5 kB / 1.034 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/1.208, allocations: 48.64 kB / 1.034 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/1.208, allocations: 22.39 kB / 1.034 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/1.208, allocations: 11.44 kB / 1.034 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001439/1.209, allocations: 0.9101 MB / 1.034 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.209, allocations: 0 / 1.034 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009836/1.21, allocations: 281.8 kB / 1.035 GB, free: 6.938 MB / 0.7325 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.0005093/1.211, allocations: 205.8 kB / 1.035 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00107/1.212, allocations: 463.2 kB / 1.035 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.212, allocations: 0.6875 kB / 1.035 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/1.212, allocations: 102.2 kB / 1.035 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.215, allocations: 0.5807 MB / 1.036 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/1.218, allocations: 1.755 MB / 1.038 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/1.219, allocations: 1.115 MB / 1.039 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009312/1.22, allocations: 240.5 kB / 1.039 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/1.22, allocations: 72.12 kB / 1.039 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/1.22, allocations: 0 / 1.039 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of Templates: time 0.03455/1.255, allocations: 18.54 MB / 1.057 GB, free: 9.477 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)