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.000776/0.0007761, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.004427/0.004427, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.21/1.21, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001642/0.001642, allocations: 266.8 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 15.36 kB / 0.5988 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.4523/0.5844, allocations: 215.9 MB / 0.8961 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008009/0.5924, allocations: 5.742 MB / 0.9017 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.5932, allocations: 35.75 kB / 0.9018 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.5943, allocations: 0.4896 MB / 0.9022 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.5975, allocations: 1.541 MB / 0.9037 GB, free: 20 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.6001, allocations: 1.089 MB / 0.9048 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.6037, allocations: 3.537 MB / 0.9083 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.6048, allocations: 0.7479 MB / 0.909 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.6063, allocations: 0.8907 MB / 0.9099 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.6081, allocations: 0.8281 MB / 0.9107 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.896e-05/0.6082, allocations: 36 kB / 0.9107 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.611, allocations: 1.718 MB / 0.9124 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.6113, allocations: 346.8 kB / 0.9127 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005078/0.6119, allocations: 0.5342 MB / 0.9132 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.614, allocations: 2.013 MB / 0.9152 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.614, allocations: 0 / 0.9152 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.433e-06/0.614, allocations: 0 / 0.9152 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.614, allocations: 0 / 0.9152 GB, free: 4.266 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.001862/0.6159, allocations: 1.224 MB / 0.9164 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.616, allocations: 8.031 kB / 0.9164 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.6161, allocations: 130.6 kB / 0.9165 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.6187, allocations: 442.2 kB / 0.9169 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.6199, allocations: 0.7648 MB / 0.9177 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.6203, allocations: 125.9 kB / 0.9178 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.6205, allocations: 75.94 kB / 0.9179 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.6223, allocations: 1.014 MB / 0.9189 GB, free: 388 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6223, allocations: 3.938 kB / 0.9189 GB, free: 384 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.6224, allocations: 43.94 kB / 0.9189 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/0.6224, allocations: 33.98 kB / 0.9189 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.6244, allocations: 0.9057 MB / 0.9198 GB, free: 15.39 MB / 0.6387 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.005251/0.6297, allocations: 3.529 MB / 0.9233 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.6314, allocations: 0.6561 MB / 0.9239 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008222/0.6322, allocations: 365.2 kB / 0.9243 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.6324, allocations: 97.09 kB / 0.9244 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.6324, allocations: 46.5 kB / 0.9244 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.6324, allocations: 0 / 0.9244 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.004976/0.6374, allocations: 1.991 MB / 0.9263 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.6374, allocations: 59.41 kB / 0.9264 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.6383, allocations: 0.7822 MB / 0.9272 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.625e-05/0.6384, allocations: 37.64 kB / 0.9272 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.6387, allocations: 455.5 kB / 0.9276 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.6388, allocations: 141.9 kB / 0.9278 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.6389, allocations: 49.69 kB / 0.9278 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.639, allocations: 329.9 kB / 0.9281 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/0.6398, allocations: 332.9 kB / 0.9285 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/0.6407, allocations: 467.5 kB / 0.9289 GB, free: 5.734 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.005471/0.6462, allocations: 2.033 MB / 0.9309 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6462, allocations: 0 / 0.9309 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00198/0.6482, allocations: 0.8854 MB / 0.9318 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6483, allocations: 8 kB / 0.9318 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.6483, allocations: 4 kB / 0.9318 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6483, allocations: 8.094 kB / 0.9318 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.6491, allocations: 183.8 kB / 0.9319 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.6492, allocations: 8.688 kB / 0.932 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009686/0.6501, allocations: 95.83 kB / 0.932 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.6502, allocations: 20 kB / 0.9321 GB, free: 2.43 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 sytem: 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.0003742/0.6506, allocations: 281.5 kB / 0.9323 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.6507, allocations: 91.03 kB / 0.9324 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.6509, allocations: 96.09 kB / 0.9325 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.6509, allocations: 4 kB / 0.9325 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6509, allocations: 0 / 0.9325 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/0.6526, allocations: 0.7301 MB / 0.9332 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.6565, allocations: 1.974 MB / 0.9352 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6565, allocations: 4 kB / 0.9352 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.6573, allocations: 172.1 kB / 0.9353 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.6573, allocations: 4 kB / 0.9353 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.6574, allocations: 15.94 kB / 0.9353 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.6574, allocations: 7.984 kB / 0.9353 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.6574, allocations: 8 kB / 0.9354 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.66, allocations: 1.279 MB / 0.9366 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.6603, allocations: 240 kB / 0.9368 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.6604, allocations: 12 kB / 0.9368 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.6613, allocations: 94.17 kB / 0.9369 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.6614, allocations: 43.83 kB / 0.937 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.6615, allocations: 27.98 kB / 0.937 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006249/0.6621, allocations: 0.5419 MB / 0.9375 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6621, allocations: 0 / 0.9375 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007474/0.6629, allocations: 244 kB / 0.9378 GB, free: 12.38 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.003132/0.666, allocations: 1.933 MB / 0.9397 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.6678, allocations: 0.7169 MB / 0.9404 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6678, allocations: 0 / 0.9404 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008304/0.6687, allocations: 357 kB / 0.9407 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.6714, allocations: 0.4995 MB / 0.9412 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.6847, allocations: 7.949 MB / 0.9489 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.6853, allocations: 1.04 MB / 0.95 GB, free: 15.52 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009114/0.6862, allocations: 223 kB / 0.9502 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/0.6867, allocations: 319.3 kB / 0.9505 GB, free: 14.98 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.6867, allocations: 8 kB / 0.9505 GB, free: 14.97 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.071/2.757, allocations: 24.27 MB / 0.9742 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/2.758, allocations: 309.4 kB / 0.9745 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/5.08, allocations: 2.5 kB / 0.9745 GB, free: 6.805 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)