Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.001378/0.001378, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 190.5 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 70.05 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2091, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5958/0.8049, allocations: 221 MB / 0.9995 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007928/0.8129, allocations: 5.676 MB / 1.005 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.814, allocations: 38.69 kB / 1.005 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.8154, allocations: 0.5748 MB / 1.006 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.8193, allocations: 1.832 MB / 1.007 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.8219, allocations: 1.185 MB / 1.009 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.8249, allocations: 2.91 MB / 1.011 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.826, allocations: 1.015 MB / 1.012 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.8275, allocations: 1.06 MB / 1.013 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.8291, allocations: 0.9267 MB / 1.014 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.8293, allocations: 105.4 kB / 1.014 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.8318, allocations: 1.433 MB / 1.016 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.8322, allocations: 464.6 kB / 1.016 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.8328, allocations: 0.6409 MB / 1.017 GB, free: 488 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.8351, allocations: 2.123 MB / 1.019 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8352, allocations: 4 kB / 1.019 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8352, allocations: 0 / 1.019 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.8352, allocations: 0 / 1.019 GB, free: 15.09 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002187/0.8374, allocations: 1.493 MB / 1.02 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.8374, allocations: 9.438 kB / 1.02 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.8376, allocations: 140.6 kB / 1.021 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.8394, allocations: 317.2 kB / 1.021 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.8406, allocations: 0.8333 MB / 1.022 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.8407, allocations: 69.22 kB / 1.022 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.8408, allocations: 85.94 kB / 1.022 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.8422, allocations: 0.9095 MB / 1.023 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.8422, allocations: 3.906 kB / 1.023 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.8423, allocations: 41.91 kB / 1.023 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.8424, allocations: 40.27 kB / 1.023 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.8437, allocations: 0.8269 MB / 1.024 GB, free: 12.05 MB / 0.7481 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.004669/0.8484, allocations: 3.505 MB / 1.027 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.8491, allocations: 0.5096 MB / 1.028 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.8496, allocations: 292.4 kB / 1.028 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.8498, allocations: 101.3 kB / 1.028 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.8498, allocations: 55.72 kB / 1.028 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.8498, allocations: 0 / 1.028 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.003212/0.853, allocations: 1.869 MB / 1.03 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.8531, allocations: 60.14 kB / 1.03 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/0.8539, allocations: 0.7984 MB / 1.031 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.854, allocations: 38.52 kB / 1.031 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.8543, allocations: 474.6 kB / 1.031 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.8544, allocations: 168 kB / 1.031 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.8547, allocations: 124.5 kB / 1.031 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8548, allocations: 329.4 kB / 1.032 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.8552, allocations: 242.3 kB / 1.032 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.8557, allocations: 383.1 kB / 1.032 GB, free: 5.559 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.8589, allocations: 1.533 MB / 1.034 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.8589, allocations: 2.281 kB / 1.034 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001162/0.8601, allocations: 0.7899 MB / 1.035 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8601, allocations: 8.344 kB / 1.035 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.8601, allocations: 9.016 kB / 1.035 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.8603, allocations: 62.03 kB / 1.035 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.8609, allocations: 157.1 kB / 1.035 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.8632, allocations: 3.116 MB / 1.038 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.864, allocations: 32.05 kB / 1.038 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.8641, allocations: 25.09 kB / 1.038 GB, free: 1.074 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.8645, allocations: 309.3 kB / 1.038 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.8646, allocations: 92.7 kB / 1.038 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.8648, allocations: 95.73 kB / 1.038 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8648, allocations: 5.906 kB / 1.038 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8648, allocations: 0 / 1.038 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009106/0.8657, allocations: 0.844 MB / 1.039 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.8682, allocations: 1.786 MB / 1.041 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.8682, allocations: 8.031 kB / 1.041 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.8688, allocations: 139.7 kB / 1.041 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.198e-05/0.8689, allocations: 36.83 kB / 1.041 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.8689, allocations: 16 kB / 1.041 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.8701, allocations: 1.594 MB / 1.043 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.8701, allocations: 11.88 kB / 1.043 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.8715, allocations: 1.088 MB / 1.044 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.8718, allocations: 232 kB / 1.044 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.954e-05/0.8719, allocations: 16 kB / 1.044 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.8726, allocations: 34.83 kB / 1.044 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.8727, allocations: 47.88 kB / 1.044 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.8727, allocations: 27.98 kB / 1.044 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006312/0.8734, allocations: 0.5498 MB / 1.045 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8734, allocations: 4 kB / 1.045 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007578/0.8741, allocations: 276 kB / 1.045 GB, free: 10.34 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001975/0.8761, allocations: 1.72 MB / 1.047 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.8774, allocations: 0.8077 MB / 1.047 GB, free: 7.73 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8774, allocations: 3.938 kB / 1.047 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.8779, allocations: 415.8 kB / 1.048 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.8803, allocations: 0.6001 MB / 1.048 GB, free: 6.715 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008553/0.8889, allocations: 6.946 MB / 1.055 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.8895, allocations: 1.087 MB / 1.056 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007624/0.8903, allocations: 219.7 kB / 1.056 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.8907, allocations: 343.3 kB / 1.057 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of SimCode: time 9.02e-07/0.8908, allocations: 0 / 1.057 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05476/0.9455, allocations: 27.18 MB / 1.083 GB, free: 3.113 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.55, allocations: 15.36 kB / 1.083 GB, free: 3.102 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)