Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 128 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.001253/0.001253, allocations: 196 kB / 16.53 MB, free: 6.672 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 287 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8871/0.8871, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 97.58 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1279, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4501/0.578, allocations: 221.1 MB / 0.8962 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008559/0.5866, allocations: 5.726 MB / 0.9018 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008727/0.5875, allocations: 39.06 kB / 0.9018 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.5888, allocations: 0.5902 MB / 0.9024 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.5924, allocations: 1.836 MB / 0.9042 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.5947, allocations: 1.18 MB / 0.9053 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002436/0.5972, allocations: 2.952 MB / 0.9082 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.5982, allocations: 1.021 MB / 0.9092 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.5994, allocations: 1.062 MB / 0.9102 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.6009, allocations: 0.9413 MB / 0.9112 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.6011, allocations: 108 kB / 0.9113 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.6033, allocations: 1.43 MB / 0.9127 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.6037, allocations: 466.8 kB / 0.9131 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005724/0.6042, allocations: 0.6611 MB / 0.9137 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.6063, allocations: 2.119 MB / 0.9158 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6063, allocations: 0 / 0.9158 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6063, allocations: 0 / 0.9158 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.6063, allocations: 0 / 0.9158 GB, free: 6.043 MB / 0.6231 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.002037/0.6083, allocations: 1.508 MB / 0.9173 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6084, allocations: 8.031 kB / 0.9173 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.6085, allocations: 139.3 kB / 0.9174 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.6104, allocations: 322.2 kB / 0.9177 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6115, allocations: 0.8124 MB / 0.9185 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.6115, allocations: 66 kB / 0.9186 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.6117, allocations: 87.91 kB / 0.9187 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.6131, allocations: 0.9209 MB / 0.9196 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.6131, allocations: 3.984 kB / 0.9196 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.6132, allocations: 36 kB / 0.9196 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.6132, allocations: 33.94 kB / 0.9196 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.6146, allocations: 0.8393 MB / 0.9205 GB, free: 1.168 MB / 0.6231 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.004626/0.6192, allocations: 3.556 MB / 0.9239 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.6199, allocations: 491.1 kB / 0.9244 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.6203, allocations: 301.9 kB / 0.9247 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.6205, allocations: 101.5 kB / 0.9248 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.6206, allocations: 46.94 kB / 0.9248 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.6206, allocations: 0 / 0.9248 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003164/0.6237, allocations: 1.868 MB / 0.9267 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.6238, allocations: 67.77 kB / 0.9267 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.6246, allocations: 0.8058 MB / 0.9275 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.6247, allocations: 37.7 kB / 0.9275 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.625, allocations: 479.3 kB / 0.928 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.6251, allocations: 169.5 kB / 0.9282 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.6253, allocations: 118.2 kB / 0.9283 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6254, allocations: 330 kB / 0.9286 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.6258, allocations: 250.9 kB / 0.9288 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.6263, allocations: 372.7 kB / 0.9292 GB, free: 7.785 MB / 0.6387 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.003498/0.6298, allocations: 1.556 MB / 0.9307 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6299, allocations: 0 / 0.9307 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001203/0.6311, allocations: 0.7965 MB / 0.9315 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6311, allocations: 6.031 kB / 0.9315 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.6311, allocations: 4 kB / 0.9315 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.6313, allocations: 69.61 kB / 0.9316 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.6319, allocations: 151.7 kB / 0.9317 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.6341, allocations: 3.135 MB / 0.9348 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007442/0.6349, allocations: 27.98 kB / 0.9348 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.6349, allocations: 24 kB / 0.9348 GB, free: 1.668 MB / 0.6387 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.0004033/0.6353, allocations: 306.2 kB / 0.9351 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.6355, allocations: 86.97 kB / 0.9352 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.6356, allocations: 100.7 kB / 0.9353 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.6357, allocations: 12.06 kB / 0.9353 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6357, allocations: 4 kB / 0.9353 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009115/0.6366, allocations: 0.831 MB / 0.9361 GB, free: 244 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.6391, allocations: 1.799 MB / 0.9379 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6391, allocations: 4.047 kB / 0.9379 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.6397, allocations: 139.8 kB / 0.938 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-05/0.6398, allocations: 40.83 kB / 0.938 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.6399, allocations: 12.31 kB / 0.9381 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.641, allocations: 1.598 MB / 0.9396 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.641, allocations: 4 kB / 0.9396 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.6424, allocations: 1.057 MB / 0.9407 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.6427, allocations: 236 kB / 0.9409 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.6429, allocations: 12 kB / 0.9409 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000665/0.6435, allocations: 41.64 kB / 0.9409 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.6436, allocations: 39.95 kB / 0.941 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.6437, allocations: 31.98 kB / 0.941 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006148/0.6443, allocations: 0.5576 MB / 0.9415 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6443, allocations: 0 / 0.9415 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007688/0.6451, allocations: 276 kB / 0.9418 GB, free: 10.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.00197/0.6471, allocations: 1.699 MB / 0.9435 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.6484, allocations: 0.8669 MB / 0.9443 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6484, allocations: 7.938 kB / 0.9443 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.6489, allocations: 403.7 kB / 0.9447 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.6515, allocations: 0.6016 MB / 0.9453 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/0.6603, allocations: 7.316 MB / 0.9524 GB, free: 14.78 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.6609, allocations: 1.091 MB / 0.9535 GB, free: 13.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007879/0.6617, allocations: 211.7 kB / 0.9537 GB, free: 13.45 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.6621, allocations: 347.3 kB / 0.954 GB, free: 13.11 MB / 0.67 GB Notification: Performance of SimCode: time 2.71e-07/0.6621, allocations: 0 / 0.954 GB, free: 13.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05191/0.7141, allocations: 27.26 MB / 0.9807 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.27, allocations: 4.375 kB / 0.9807 GB, free: 2.359 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)