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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_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.00542/0.00542, allocations: 100 kB / 15.73 MB, free: 6.023 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.001154/0.001154, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 279 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8914/0.8914, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 96.27 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.164, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5745/0.7385, allocations: 221.9 MB / 0.9826 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.7547, allocations: 13.76 MB / 0.996 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.7567, allocations: 67.62 kB / 0.9961 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.7585, allocations: 0.8113 MB / 0.9969 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.7632, allocations: 2.162 MB / 0.999 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.766, allocations: 1.179 MB / 1 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003184/0.7692, allocations: 2.886 MB / 1.003 GB, free: 136 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.7705, allocations: 1.199 MB / 1.004 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005112/0.7756, allocations: 2.457 MB / 1.007 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.7775, allocations: 1.033 MB / 1.008 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.7776, allocations: 100 kB / 1.008 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.7804, allocations: 1.59 MB / 1.009 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.7808, allocations: 426.7 kB / 1.01 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006776/0.7815, allocations: 0.684 MB / 1.01 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.7841, allocations: 2.08 MB / 1.012 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7841, allocations: 0 / 1.012 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7841, allocations: 0 / 1.012 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.7841, allocations: 0 / 1.012 GB, free: 6.566 MB / 0.7637 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.002173/0.7863, allocations: 1.658 MB / 1.014 GB, free: 4.852 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7863, allocations: 12.03 kB / 1.014 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.7865, allocations: 135.6 kB / 1.014 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.7885, allocations: 433.8 kB / 1.014 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.7898, allocations: 0.948 MB / 1.015 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.7899, allocations: 78 kB / 1.015 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.79, allocations: 84 kB / 1.016 GB, free: 3.125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.7918, allocations: 1.223 MB / 1.017 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.7918, allocations: 4 kB / 1.017 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.7919, allocations: 40 kB / 1.017 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.792, allocations: 33.31 kB / 1.017 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.7936, allocations: 0.8756 MB / 1.018 GB, free: 0.832 MB / 0.7637 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.005848/0.7995, allocations: 6.018 MB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.7999, allocations: 267.7 kB / 1.024 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.8001, allocations: 153.2 kB / 1.024 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.8002, allocations: 97.09 kB / 1.024 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.8003, allocations: 42.5 kB / 1.024 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005858/0.8009, allocations: 123 kB / 1.024 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.8009, allocations: 0 / 1.024 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001081/0.802, allocations: 476.2 kB / 1.025 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.802, allocations: 187.9 kB / 1.025 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.8037, allocations: 1.303 MB / 1.026 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.8037, allocations: 29.7 kB / 1.026 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.8041, allocations: 0.6204 MB / 1.027 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.8042, allocations: 78.94 kB / 1.027 GB, free: 7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.8044, allocations: 141.9 kB / 1.027 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.8045, allocations: 333.9 kB / 1.027 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.8051, allocations: 240.9 kB / 1.028 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000749/0.8058, allocations: 0.548 MB / 1.028 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009528/0.8068, allocations: 0.694 MB / 1.029 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.8068, allocations: 0 / 1.029 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001609/0.8084, allocations: 0.8574 MB / 1.03 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.8084, allocations: 12 kB / 1.03 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.8085, allocations: 8.062 kB / 1.03 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.8085, allocations: 20 kB / 1.03 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.8091, allocations: 164.8 kB / 1.03 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.8092, allocations: 19.92 kB / 1.03 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.8103, allocations: 135.8 kB / 1.03 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.8103, allocations: 35.98 kB / 1.03 GB, free: 3.508 MB / 0.7794 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.0003495/0.8107, allocations: 302.2 kB / 1.03 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.8109, allocations: 122.5 kB / 1.03 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.8113, allocations: 288.3 kB / 1.031 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8114, allocations: 4 kB / 1.031 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8114, allocations: 0 / 1.031 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8114, allocations: 4.172 kB / 1.031 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.8132, allocations: 1.686 MB / 1.032 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8132, allocations: 0 / 1.032 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.8135, allocations: 43.91 kB / 1.032 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.8135, allocations: 4 kB / 1.032 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.8135, allocations: 8 kB / 1.032 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.8135, allocations: 7.938 kB / 1.032 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8135, allocations: 4 kB / 1.032 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.814, allocations: 498.7 kB / 1.033 GB, free: 396 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.8143, allocations: 231.6 kB / 1.033 GB, free: 144 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.8145, allocations: 8 kB / 1.033 GB, free: 136 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.8151, allocations: 43.95 kB / 1.033 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.8152, allocations: 23.86 kB / 1.033 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.8152, allocations: 19.98 kB / 1.033 GB, free: 48 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001262/0.8165, allocations: 0.912 MB / 1.034 GB, free: 15.13 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8165, allocations: 0 / 1.034 GB, free: 15.13 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007767/0.8173, allocations: 279.5 kB / 1.034 GB, free: 14.86 MB / 0.795 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.0009925/0.8183, allocations: 1.136 MB / 1.035 GB, free: 13.67 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009081/0.8192, allocations: 457.1 kB / 1.036 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.8192, allocations: 4 kB / 1.036 GB, free: 13.22 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.8194, allocations: 101.1 kB / 1.036 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.8215, allocations: 0.584 MB / 1.037 GB, free: 12.55 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.8325, allocations: 8.112 MB / 1.044 GB, free: 3.969 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.8331, allocations: 1.111 MB / 1.046 GB, free: 2.828 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007798/0.8339, allocations: 241.6 kB / 1.046 GB, free: 2.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.8344, allocations: 415.3 kB / 1.046 GB, free: 2.184 MB / 0.795 GB Notification: Performance of SimCode: time 7.42e-07/0.8344, allocations: 0 / 1.046 GB, free: 2.184 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04811/0.8825, allocations: 28.04 MB / 1.074 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.774/9.657, allocations: 13.97 kB / 1.074 GB, free: 6.672 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)