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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002369/0.002369, allocations: 282.5 kB / 309.8 MB, free: 3.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.022/1.022, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 95.86 kB / 0.7347 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4926, allocations: 95.35 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2599/0.7525, allocations: 225.7 MB / 1.048 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.7717, allocations: 13.81 MB / 1.062 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.7738, allocations: 91.25 kB / 1.062 GB, free: 9.699 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.7758, allocations: 0.8464 MB / 1.063 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.7809, allocations: 2.232 MB / 1.065 GB, free: 6.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.7839, allocations: 1.205 MB / 1.066 GB, free: 5.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004027/0.7879, allocations: 2.885 MB / 1.069 GB, free: 2.52 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.7894, allocations: 0.9914 MB / 1.07 GB, free: 1.504 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005779/0.7951, allocations: 2.526 MB / 1.072 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.7974, allocations: 1.095 MB / 1.073 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.7976, allocations: 100 kB / 1.073 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.8007, allocations: 1.68 MB / 1.075 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.8012, allocations: 442.4 kB / 1.075 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008072/0.802, allocations: 0.6879 MB / 1.076 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.8051, allocations: 2.082 MB / 1.078 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8051, allocations: 4 kB / 1.078 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8051, allocations: 0 / 1.078 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.8052, allocations: 0 / 1.078 GB, free: 8.891 MB / 0.8106 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.002594/0.8078, allocations: 1.676 MB / 1.08 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.8078, allocations: 12.03 kB / 1.08 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.037e-05/0.8078, allocations: 26 kB / 1.08 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.808, allocations: 139.6 kB / 1.08 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.8102, allocations: 450.5 kB / 1.08 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.8117, allocations: 0.9491 MB / 1.081 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.8118, allocations: 73.98 kB / 1.081 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.8119, allocations: 91.94 kB / 1.081 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.814, allocations: 1.227 MB / 1.083 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.814, allocations: 3.938 kB / 1.083 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.8141, allocations: 40 kB / 1.083 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/0.8142, allocations: 33.31 kB / 1.083 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.8162, allocations: 0.8867 MB / 1.084 GB, free: 3.074 MB / 0.8106 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.007085/0.8232, allocations: 6.018 MB / 1.09 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.8237, allocations: 251.7 kB / 1.09 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.8239, allocations: 157.2 kB / 1.09 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.8241, allocations: 97.09 kB / 1.09 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.8241, allocations: 42.56 kB / 1.09 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007167/0.8248, allocations: 131.3 kB / 1.09 GB, free: 12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.265e-06/0.8248, allocations: 0 / 1.09 GB, free: 12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001208/0.826, allocations: 485.2 kB / 1.091 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8262, allocations: 183.9 kB / 1.091 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.8281, allocations: 1.303 MB / 1.092 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.8282, allocations: 37.7 kB / 1.092 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/0.8287, allocations: 0.6334 MB / 1.093 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/0.8288, allocations: 83.31 kB / 1.093 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.829, allocations: 146 kB / 1.093 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8291, allocations: 329.9 kB / 1.093 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.8298, allocations: 236.9 kB / 1.093 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009399/0.8307, allocations: 0.5519 MB / 1.094 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.8319, allocations: 0.6925 MB / 1.095 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.8319, allocations: 4 kB / 1.095 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001909/0.8338, allocations: 0.8599 MB / 1.096 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.8339, allocations: 8 kB / 1.096 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.8339, allocations: 8 kB / 1.096 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.8339, allocations: 16 kB / 1.096 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/0.8346, allocations: 172 kB / 1.096 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.8346, allocations: 27.86 kB / 1.096 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.8358, allocations: 135.9 kB / 1.096 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.8359, allocations: 36 kB / 1.096 GB, free: 5.711 MB / 0.8262 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.0003959/0.8363, allocations: 298 kB / 1.096 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.8366, allocations: 127.2 kB / 1.096 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.8371, allocations: 280.3 kB / 1.097 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8371, allocations: 8 kB / 1.097 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8371, allocations: 3.938 kB / 1.097 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.8371, allocations: 7.984 kB / 1.097 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.8393, allocations: 1.678 MB / 1.098 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8393, allocations: 4 kB / 1.098 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.8395, allocations: 35.92 kB / 1.098 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.8395, allocations: 4.375 kB / 1.098 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.8395, allocations: 12 kB / 1.098 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.8395, allocations: 4 kB / 1.098 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.8395, allocations: 7.938 kB / 1.098 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.8401, allocations: 0.493 MB / 1.099 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.8404, allocations: 240.5 kB / 1.099 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.8406, allocations: 12 kB / 1.099 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.8413, allocations: 43.95 kB / 1.099 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.8413, allocations: 31.89 kB / 1.099 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.8413, allocations: 12 kB / 1.099 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001487/0.8428, allocations: 0.9081 MB / 1.1 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.8428, allocations: 0 / 1.1 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008841/0.8437, allocations: 287.5 kB / 1.1 GB, free: 1.047 MB / 0.8262 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.001174/0.8449, allocations: 1.128 MB / 1.101 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.846, allocations: 445.2 kB / 1.102 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.846, allocations: 4.688 kB / 1.102 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.8461, allocations: 96.08 kB / 1.102 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.8486, allocations: 0.5801 MB / 1.102 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.8608, allocations: 8.158 MB / 1.11 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.8616, allocations: 1.11 MB / 1.112 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007644/0.8624, allocations: 245.5 kB / 1.112 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/0.8629, allocations: 418 kB / 1.112 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of SimCode: time 7.31e-07/0.863, allocations: 0 / 1.112 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05724/0.9202, allocations: 27.72 MB / 1.139 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.6/10.52, allocations: 4.062 kB / 1.139 GB, free: 9.152 MB / 0.8731 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.642172245017719] Failed to read output from testmodel.py, exit status != 0: 10.658141598047223 10.946547084 10.13870553 Calling exit ...