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.0013/0.0013, allocations: 112.6 kB / 16.37 MB, free: 6 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.00145/0.00145, allocations: 196 kB / 17.31 MB, free: 5.613 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 283.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8798/0.8798, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 94.81 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1541, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.4644/0.6185, allocations: 221.9 MB / 0.8983 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.6361, allocations: 13.75 MB / 0.9117 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.6387, allocations: 63.62 kB / 0.9118 GB, free: 2.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.6407, allocations: 0.8074 MB / 0.9125 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00484/0.6456, allocations: 2.162 MB / 0.9147 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.6483, allocations: 1.187 MB / 0.9158 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.6513, allocations: 2.895 MB / 0.9186 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.6526, allocations: 1.19 MB / 0.9198 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004751/0.6574, allocations: 2.449 MB / 0.9222 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.6593, allocations: 1.014 MB / 0.9232 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.6595, allocations: 103.9 kB / 0.9233 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.6625, allocations: 1.59 MB / 0.9248 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004179/0.6629, allocations: 438.7 kB / 0.9253 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007363/0.6637, allocations: 0.6762 MB / 0.9259 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.6664, allocations: 2.087 MB / 0.928 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6664, allocations: 0 / 0.928 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6664, allocations: 0 / 0.928 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.6664, allocations: 0 / 0.928 GB, free: 1.957 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.002322/0.6687, allocations: 1.655 MB / 0.9296 GB, free: 256 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6688, allocations: 12.03 kB / 0.9296 GB, free: 244 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.6709, allocations: 429.9 kB / 0.93 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.6724, allocations: 0.952 MB / 0.9309 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.6725, allocations: 70 kB / 0.931 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.6726, allocations: 91.94 kB / 0.9311 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.6745, allocations: 1.215 MB / 0.9323 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.6745, allocations: 7.938 kB / 0.9323 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.6746, allocations: 36 kB / 0.9323 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.6747, allocations: 37.3 kB / 0.9323 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.6765, allocations: 0.8713 MB / 0.9332 GB, free: 12.38 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.006906/0.6834, allocations: 6.024 MB / 0.9391 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.6838, allocations: 259.7 kB / 0.9393 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.684, allocations: 149 kB / 0.9395 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.6842, allocations: 101.1 kB / 0.9396 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.6843, allocations: 42.56 kB / 0.9396 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006465/0.6849, allocations: 111.1 kB / 0.9397 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 3.076e-06/0.6849, allocations: 0 / 0.9397 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.001228/0.6862, allocations: 479.9 kB / 0.9402 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.6863, allocations: 183.9 kB / 0.9403 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.688, allocations: 1.3 MB / 0.9416 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.6881, allocations: 33.7 kB / 0.9416 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.6885, allocations: 0.6242 MB / 0.9423 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.6886, allocations: 75.03 kB / 0.9423 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.6888, allocations: 141.9 kB / 0.9425 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6889, allocations: 333.9 kB / 0.9428 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.6895, allocations: 236.9 kB / 0.943 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.6903, allocations: 0.5597 MB / 0.9436 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.6913, allocations: 0.6916 MB / 0.9442 GB, free: 316 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.6913, allocations: 4 kB / 0.9442 GB, free: 312 kB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00172/0.6931, allocations: 0.8496 MB / 0.9451 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.6931, allocations: 14.19 kB / 0.9451 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.6931, allocations: 8 kB / 0.9451 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.6931, allocations: 19.98 kB / 0.9451 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.6938, allocations: 172.1 kB / 0.9453 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.6938, allocations: 19.92 kB / 0.9453 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.695, allocations: 127.9 kB / 0.9454 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.677e-05/0.6951, allocations: 39.92 kB / 0.9454 GB, free: 15.06 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.0003543/0.6954, allocations: 301.5 kB / 0.9457 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.6957, allocations: 122.5 kB / 0.9459 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.6961, allocations: 284.8 kB / 0.9461 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6961, allocations: 4 kB / 0.9461 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6962, allocations: 0 / 0.9461 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6962, allocations: 8.844 kB / 0.9461 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.6982, allocations: 1.678 MB / 0.9478 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6982, allocations: 0 / 0.9478 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.6984, allocations: 40.3 kB / 0.9478 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6984, allocations: 13.11 kB / 0.9478 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.6984, allocations: 8 kB / 0.9478 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.6985, allocations: 7.984 kB / 0.9478 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6985, allocations: 7.938 kB / 0.9478 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.699, allocations: 490.3 kB / 0.9483 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.6993, allocations: 243.5 kB / 0.9485 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.6994, allocations: 8 kB / 0.9486 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.7001, allocations: 47.94 kB / 0.9486 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.7002, allocations: 23.92 kB / 0.9486 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.7002, allocations: 12.62 kB / 0.9486 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001287/0.7015, allocations: 0.9081 MB / 0.9495 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.254e-06/0.7015, allocations: 0 / 0.9495 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008104/0.7023, allocations: 283.5 kB / 0.9498 GB, free: 10.41 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.0004192/0.7028, allocations: 202.9 kB / 0.95 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000967/0.7037, allocations: 467.8 kB / 0.9504 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7038, allocations: 0 / 0.9504 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.7039, allocations: 96.95 kB / 0.9505 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.7061, allocations: 0.5829 MB / 0.9511 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.7084, allocations: 1.722 MB / 0.9528 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.7091, allocations: 1.114 MB / 0.9539 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006675/0.7097, allocations: 245.5 kB / 0.9541 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.7099, allocations: 75.42 kB / 0.9542 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/0.7099, allocations: 0 / 0.9542 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.2862/0.9961, allocations: 18.36 MB / 0.9721 GB, free: 248.1 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)