Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.001098/0.001098, allocations: 108 kB / 15.61 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.001047/0.001047, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 290.6 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8915/0.8915, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 98.98 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1286, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.4582/0.5869, allocations: 221.1 MB / 0.8962 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008158/0.5951, allocations: 5.728 MB / 0.9018 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.5961, allocations: 47.38 kB / 0.9018 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.5976, allocations: 0.5731 MB / 0.9024 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.601, allocations: 1.624 MB / 0.904 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.6036, allocations: 1.208 MB / 0.9051 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002515/0.6061, allocations: 2.567 MB / 0.9076 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.6072, allocations: 0.905 MB / 0.9085 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.6089, allocations: 1.062 MB / 0.9096 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.6107, allocations: 0.8283 MB / 0.9104 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.6109, allocations: 96 kB / 0.9105 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.6133, allocations: 1.543 MB / 0.912 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.6137, allocations: 414.9 kB / 0.9124 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006457/0.6144, allocations: 0.5872 MB / 0.9129 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.6168, allocations: 1.995 MB / 0.9149 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6168, allocations: 4 kB / 0.9149 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6168, allocations: 0 / 0.9149 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.6168, allocations: 0 / 0.9149 GB, free: 7.086 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00226/0.6191, allocations: 1.426 MB / 0.9163 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.6191, allocations: 12.03 kB / 0.9163 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.6193, allocations: 130.6 kB / 0.9164 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.6219, allocations: 418.2 kB / 0.9168 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.6231, allocations: 0.7648 MB / 0.9176 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.6234, allocations: 113.9 kB / 0.9177 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6236, allocations: 79.94 kB / 0.9178 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.6253, allocations: 0.9945 MB / 0.9187 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.6253, allocations: 0 / 0.9187 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/0.6254, allocations: 36 kB / 0.9188 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.6255, allocations: 33.94 kB / 0.9188 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.6274, allocations: 0.8899 MB / 0.9197 GB, free: 2.082 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.00534/0.6328, allocations: 3.513 MB / 0.9231 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.6344, allocations: 0.6209 MB / 0.9237 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/0.6352, allocations: 346 kB / 0.924 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.6354, allocations: 105 kB / 0.9241 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.6355, allocations: 44.81 kB / 0.9242 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.6355, allocations: 4 kB / 0.9242 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.004839/0.6403, allocations: 1.917 MB / 0.926 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.6404, allocations: 59.39 kB / 0.9261 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.6412, allocations: 0.7784 MB / 0.9269 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.6413, allocations: 33.7 kB / 0.9269 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.6415, allocations: 459.4 kB / 0.9273 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.6417, allocations: 149.9 kB / 0.9275 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.6419, allocations: 110.1 kB / 0.9276 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.642, allocations: 325.9 kB / 0.9279 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/0.6428, allocations: 316.9 kB / 0.9282 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.6436, allocations: 451.5 kB / 0.9286 GB, free: 8.535 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.005308/0.6489, allocations: 1.955 MB / 0.9305 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.649, allocations: 4 kB / 0.9305 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00192/0.6509, allocations: 0.8542 MB / 0.9314 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6509, allocations: 5.875 kB / 0.9314 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6509, allocations: 4 kB / 0.9314 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6509, allocations: 8 kB / 0.9314 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/0.6517, allocations: 171.8 kB / 0.9316 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.6518, allocations: 7.984 kB / 0.9316 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/0.6526, allocations: 63.91 kB / 0.9316 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.6527, allocations: 20 kB / 0.9316 GB, free: 5.383 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 (65): * Single equations (assignments): 65 * 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.0003393/0.653, allocations: 274.9 kB / 0.9319 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.6532, allocations: 90.97 kB / 0.932 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.6534, allocations: 96.08 kB / 0.9321 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6534, allocations: 4 kB / 0.9321 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6534, allocations: 4 kB / 0.9321 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001587/0.655, allocations: 0.6999 MB / 0.9328 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.6588, allocations: 1.926 MB / 0.9347 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6588, allocations: 8.031 kB / 0.9347 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.6595, allocations: 143.8 kB / 0.9348 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.6596, allocations: 8 kB / 0.9348 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.6596, allocations: 12 kB / 0.9348 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6596, allocations: 7.938 kB / 0.9348 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6596, allocations: 4 kB / 0.9348 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.6622, allocations: 1.243 MB / 0.936 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.6625, allocations: 232 kB / 0.9363 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.6627, allocations: 20.48 kB / 0.9363 GB, free: 424 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008028/0.6635, allocations: 59.94 kB / 0.9363 GB, free: 364 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.6636, allocations: 39.84 kB / 0.9364 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.6636, allocations: 35.97 kB / 0.9364 GB, free: 288 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006122/0.6643, allocations: 0.5381 MB / 0.9369 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6643, allocations: 0 / 0.9369 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006887/0.665, allocations: 252 kB / 0.9372 GB, free: 15.5 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 (41): * Single equations (assignments): 41 * 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.003075/0.668, allocations: 1.873 MB / 0.939 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.6699, allocations: 0.7491 MB / 0.9397 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6699, allocations: 4 kB / 0.9397 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008093/0.6707, allocations: 328.6 kB / 0.9401 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.673, allocations: 0.5249 MB / 0.9406 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.6851, allocations: 7.495 MB / 0.9479 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.6857, allocations: 1.048 MB / 0.9489 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008291/0.6866, allocations: 223 kB / 0.9491 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/0.687, allocations: 327.3 kB / 0.9494 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.687, allocations: 0 / 0.9494 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/0.7329, allocations: 25.45 MB / 0.9743 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.018/9.751, allocations: 11.23 kB / 0.9743 GB, free: 9.578 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)