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.00133/0.00133, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.00124/0.001241, allocations: 188 kB / 17.2 MB, free: 5.938 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002222/0.002222, allocations: 289.9 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9345/0.9345, allocations: 169.2 MB / 0.4988 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 106.5 kB / 0.5959 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.179, allocations: 86.97 MB / 0.6808 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5458/0.7248, allocations: 221.9 MB / 0.8975 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.7454, allocations: 13.75 MB / 0.9109 GB, free: 3.125 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.7479, allocations: 67.62 kB / 0.911 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.7504, allocations: 0.7996 MB / 0.9118 GB, free: 2.254 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005875/0.7564, allocations: 2.166 MB / 0.9139 GB, free: 80 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.7599, allocations: 1.184 MB / 0.915 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004184/0.7641, allocations: 2.885 MB / 0.9179 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.7662, allocations: 1.191 MB / 0.919 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006925/0.7731, allocations: 2.445 MB / 0.9214 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002361/0.7755, allocations: 1.016 MB / 0.9224 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000396/0.7759, allocations: 96 kB / 0.9225 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.7794, allocations: 1.586 MB / 0.924 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000634/0.78, allocations: 438.7 kB / 0.9245 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.7812, allocations: 0.6801 MB / 0.9251 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.7848, allocations: 2.049 MB / 0.9271 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7848, allocations: 0 / 0.9271 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7849, allocations: 4 kB / 0.9271 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.756e-05/0.7849, allocations: 0 / 0.9271 GB, free: 2.5 MB / 0.6856 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.003083/0.788, allocations: 1.655 MB / 0.9287 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7881, allocations: 12.03 kB / 0.9288 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.7905, allocations: 421.9 kB / 0.9292 GB, free: 376 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.792, allocations: 0.9013 MB / 0.93 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009778/0.793, allocations: 243 kB / 0.9303 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.7932, allocations: 88 kB / 0.9304 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.7955, allocations: 1.227 MB / 0.9316 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.7955, allocations: 7.938 kB / 0.9316 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-05/0.7956, allocations: 47.91 kB / 0.9316 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.7957, allocations: 29.31 kB / 0.9316 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.7979, allocations: 0.9025 MB / 0.9325 GB, free: 12.77 MB / 0.7012 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.007621/0.8055, allocations: 6.078 MB / 0.9385 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.806, allocations: 263.7 kB / 0.9387 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.8062, allocations: 149 kB / 0.9388 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.8064, allocations: 93.09 kB / 0.9389 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.8064, allocations: 42.56 kB / 0.939 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007389/0.8071, allocations: 111.7 kB / 0.9391 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 3.777e-06/0.8072, allocations: 0 / 0.9391 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.001332/0.8085, allocations: 480.1 kB / 0.9395 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.8086, allocations: 183.9 kB / 0.9397 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.8108, allocations: 1.323 MB / 0.941 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.8108, allocations: 25.7 kB / 0.941 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.8113, allocations: 0.6359 MB / 0.9417 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.8114, allocations: 75.08 kB / 0.9417 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.8116, allocations: 141.9 kB / 0.9419 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8118, allocations: 329.8 kB / 0.9422 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008108/0.8126, allocations: 260.9 kB / 0.9424 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009913/0.8136, allocations: 0.5636 MB / 0.943 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.8148, allocations: 0.7077 MB / 0.9437 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.8148, allocations: 4 kB / 0.9437 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002252/0.8171, allocations: 0.8842 MB / 0.9445 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.8171, allocations: 9 kB / 0.9445 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.8172, allocations: 8 kB / 0.9446 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.8172, allocations: 20 kB / 0.9446 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.818, allocations: 175.7 kB / 0.9447 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.818, allocations: 20.02 kB / 0.9448 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.8195, allocations: 161.3 kB / 0.9449 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.8196, allocations: 39.97 kB / 0.9449 GB, free: 15.26 MB / 0.7169 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.0004767/0.8201, allocations: 297.5 kB / 0.9452 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.8204, allocations: 118.5 kB / 0.9453 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.821, allocations: 296.3 kB / 0.9456 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.821, allocations: 3.938 kB / 0.9456 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.821, allocations: 4 kB / 0.9456 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.821, allocations: 3.938 kB / 0.9456 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.8234, allocations: 1.678 MB / 0.9473 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8234, allocations: 4 kB / 0.9473 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.8237, allocations: 39.92 kB / 0.9473 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.8237, allocations: 4.375 kB / 0.9473 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.8237, allocations: 12 kB / 0.9473 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.8237, allocations: 4 kB / 0.9473 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8237, allocations: 7.938 kB / 0.9473 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.8243, allocations: 490.3 kB / 0.9478 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.8247, allocations: 235.5 kB / 0.948 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.8249, allocations: 15.98 kB / 0.9481 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/0.8257, allocations: 47.95 kB / 0.9481 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.8258, allocations: 23.91 kB / 0.9481 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.8258, allocations: 12 kB / 0.9481 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001637/0.8275, allocations: 0.9315 MB / 0.949 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8275, allocations: 4 kB / 0.949 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001001/0.8285, allocations: 279.5 kB / 0.9493 GB, free: 10.59 MB / 0.7169 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.0004933/0.829, allocations: 211.7 kB / 0.9495 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.8302, allocations: 482.9 kB / 0.95 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8302, allocations: 0 / 0.95 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.8304, allocations: 103.8 kB / 0.9501 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.8331, allocations: 0.5806 MB / 0.9506 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.8362, allocations: 1.802 MB / 0.9524 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.837, allocations: 1.106 MB / 0.9535 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.8372, allocations: 87.41 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/0.8372, allocations: 3.938 kB / 0.9536 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.3094/1.147, allocations: 17.33 MB / 0.9705 GB, free: 247.6 MB / 0.7169 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)