Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_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.001038/0.001038, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001342/0.001342, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.643/2.643, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 8 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8268, allocations: 146.8 MB / 0.9811 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2289/1.056, allocations: 201.5 MB / 1.178 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008986/1.065, allocations: 5.411 MB / 1.183 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/1.066, allocations: 31.81 kB / 1.183 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/1.067, allocations: 405.4 kB / 1.184 GB, free: 6.43 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004106/1.072, allocations: 1.376 MB / 1.185 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002685/1.074, allocations: 0.8461 MB / 1.186 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004289/1.079, allocations: 3.453 MB / 1.189 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/1.08, allocations: 0.719 MB / 1.19 GB, free: 16 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/1.082, allocations: 0.8868 MB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/1.084, allocations: 0.8873 MB / 1.192 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/1.084, allocations: 40 kB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/1.086, allocations: 0.6975 MB / 1.192 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004762/1.087, allocations: 390.8 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004465/1.087, allocations: 261.1 kB / 1.193 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/1.089, allocations: 1.473 MB / 1.194 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.089, allocations: 0 / 1.194 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.914e-06/1.089, allocations: 0 / 1.194 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.682e-05/1.089, allocations: 0 / 1.194 GB, free: 11.38 MB / 0.9512 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.002158/1.091, allocations: 1.291 MB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.091, allocations: 8.031 kB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/1.091, allocations: 143.3 kB / 1.196 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/1.093, allocations: 318.3 kB / 1.196 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/1.095, allocations: 0.7933 MB / 1.197 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/1.095, allocations: 66 kB / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.095, allocations: 84 kB / 1.197 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/1.097, allocations: 0.9131 MB / 1.198 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.097, allocations: 4 kB / 1.198 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/1.097, allocations: 36 kB / 1.198 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/1.097, allocations: 41.92 kB / 1.198 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.098, allocations: 0.8315 MB / 1.199 GB, free: 6.75 MB / 0.9512 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.005333/1.103, allocations: 3.545 MB / 1.202 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/1.104, allocations: 0.4896 MB / 1.203 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/1.105, allocations: 298 kB / 1.203 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/1.105, allocations: 101.5 kB / 1.203 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.105, allocations: 46.95 kB / 1.203 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 3.667e-06/1.105, allocations: 0 / 1.203 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.003463/1.108, allocations: 1.903 MB / 1.205 GB, free: 20 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.108, allocations: 59.78 kB / 1.205 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/1.109, allocations: 0.8018 MB / 1.206 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/1.109, allocations: 37.7 kB / 1.206 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/1.11, allocations: 479.3 kB / 1.206 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/1.11, allocations: 173.5 kB / 1.206 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/1.11, allocations: 20 kB / 1.206 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.11, allocations: 330 kB / 1.207 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/1.11, allocations: 241.2 kB / 1.207 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/1.111, allocations: 392.6 kB / 1.207 GB, free: 13.43 MB / 0.9669 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.002868/1.114, allocations: 0.9956 MB / 1.208 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.114, allocations: 0 / 1.208 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001267/1.115, allocations: 0.8001 MB / 1.209 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.115, allocations: 4 kB / 1.209 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.115, allocations: 4 kB / 1.209 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/1.115, allocations: 81.95 kB / 1.209 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/1.116, allocations: 151.8 kB / 1.209 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/1.118, allocations: 2.889 MB / 1.212 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/1.119, allocations: 69.16 kB / 1.212 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/1.119, allocations: 28 kB / 1.212 GB, free: 8.117 MB / 0.9669 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005203/1.12, allocations: 305.5 kB / 1.213 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.12, allocations: 90.97 kB / 1.213 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/1.12, allocations: 100.7 kB / 1.213 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.12, allocations: 8 kB / 1.213 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.12, allocations: 0 / 1.213 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/1.121, allocations: 0.8427 MB / 1.214 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/1.124, allocations: 1.802 MB / 1.215 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.124, allocations: 4 kB / 1.215 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/1.125, allocations: 135.8 kB / 1.216 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/1.125, allocations: 44.73 kB / 1.216 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/1.125, allocations: 20.02 kB / 1.216 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/1.126, allocations: 1.468 MB / 1.217 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.126, allocations: 4.031 kB / 1.217 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/1.128, allocations: 1.081 MB / 1.218 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/1.128, allocations: 247.9 kB / 1.218 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/1.129, allocations: 12 kB / 1.218 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007948/1.129, allocations: 71.84 kB / 1.218 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.13, allocations: 39.89 kB / 1.218 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/1.13, allocations: 35.94 kB / 1.218 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000901/1.131, allocations: 0.5498 MB / 1.219 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.131, allocations: 0 / 1.219 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001067/1.132, allocations: 284 kB / 1.219 GB, free: 0.5938 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002401/1.134, allocations: 1.718 MB / 1.221 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.135, allocations: 0.7968 MB / 1.222 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.136, allocations: 8 kB / 1.222 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005871/1.136, allocations: 410.3 kB / 1.222 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/1.139, allocations: 0.5809 MB / 1.223 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009975/1.149, allocations: 5.451 MB / 1.228 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/1.15, allocations: 1.091 MB / 1.229 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001167/1.151, allocations: 211.7 kB / 1.229 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/1.152, allocations: 343.3 kB / 1.23 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of SimCode: time 8.71e-07/1.152, allocations: 0 / 1.23 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6355/1.787, allocations: 26.81 MB / 1.256 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.788, allocations: 295.2 kB / 1.256 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/4.301, allocations: 0 / 1.256 GB, free: 266.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat does not exist to compare? outputFormat=mat