Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 169 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 84.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 290.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.031e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5754/0.5755, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.311/6.886, allocations: 2.126 GB / 2.884 GB, free: 160.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/6.886, allocations: 94.2 kB / 2.884 GB, free: 160.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.008/9.894, allocations: 0.7055 GB / 3.589 GB, free: 127.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/9.894, allocations: 2.062 kB / 3.589 GB, free: 127.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001316/9.894, allocations: 45.12 kB / 3.589 GB, free: 127.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.004033/9.898, allocations: 1.552 MB / 3.591 GB, free: 126.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/9.899, allocations: 9.469 kB / 3.591 GB, free: 126.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/9.902, allocations: 484.8 kB / 3.591 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/9.905, allocations: 1.32 MB / 3.593 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/9.905, allocations: 35.19 kB / 3.593 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/9.905, allocations: 67.31 kB / 3.593 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001997/9.907, allocations: 1.167 MB / 3.594 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/9.909, allocations: 1.135 MB / 3.595 GB, free: 126.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/9.909, allocations: 4.781 kB / 3.595 GB, free: 126.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.78e-05/9.909, allocations: 5.453 kB / 3.595 GB, free: 126.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/9.909, allocations: 37.34 kB / 3.595 GB, free: 126.2 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.006888/9.916, allocations: 4.783 MB / 3.6 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/9.918, allocations: 0.9955 MB / 3.601 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/9.919, allocations: 0.5556 MB / 3.601 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/9.919, allocations: 205.5 kB / 3.601 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/9.919, allocations: 45.34 kB / 3.601 GB, free: 123.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=81): time 2.585e-06/9.919, allocations: 0 / 3.601 GB, free: 123.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.005751/9.925, allocations: 2.531 MB / 3.604 GB, free: 123.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/9.925, allocations: 59.53 kB / 3.604 GB, free: 123.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/9.926, allocations: 0.7613 MB / 3.605 GB, free: 123.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/9.926, allocations: 25.7 kB / 3.605 GB, free: 123.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/9.927, allocations: 0.5414 MB / 3.605 GB, free: 123 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/9.927, allocations: 288.7 kB / 3.605 GB, free: 122.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/9.927, allocations: 0 / 3.605 GB, free: 122.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001046/9.927, allocations: 335.2 kB / 3.606 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/9.928, allocations: 432.7 kB / 3.606 GB, free: 122.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/9.928, allocations: 0.5775 MB / 3.607 GB, free: 122.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/9.929, allocations: 0.5275 MB / 3.607 GB, free: 122.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/9.929, allocations: 6.891 kB / 3.607 GB, free: 122.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001606/9.931, allocations: 1.18 MB / 3.608 GB, free: 122.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002151/9.931, allocations: 0.7879 MB / 3.609 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/9.931, allocations: 3.812 kB / 3.609 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/9.931, allocations: 71.3 kB / 3.609 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/9.932, allocations: 191 kB / 3.609 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/9.934, allocations: 2.93 MB / 3.612 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/9.936, allocations: 131.4 kB / 3.612 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/9.936, allocations: 29.22 kB / 3.612 GB, free: 119 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/9.936, allocations: 8.438 kB / 3.612 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001396/9.937, allocations: 1.034 MB / 3.613 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/9.937, allocations: 3.5 kB / 3.613 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/9.937, allocations: 66.05 kB / 3.614 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/9.938, allocations: 175.4 kB / 3.614 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/9.939, allocations: 1.746 MB / 3.615 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/9.941, allocations: 129.5 kB / 3.616 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/9.941, allocations: 28.44 kB / 3.616 GB, free: 117.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002904/9.941, allocations: 124.6 kB / 3.616 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00148/9.943, allocations: 1.061 MB / 3.617 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/9.943, allocations: 111.9 kB / 3.617 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/9.945, allocations: 1.144 MB / 3.618 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/9.945, allocations: 7.812 kB / 3.618 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/9.945, allocations: 6.531 kB / 3.618 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001281/9.946, allocations: 1.214 MB / 3.619 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/9.95, allocations: 2.664 MB / 3.622 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/9.95, allocations: 3.5 kB / 3.622 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/9.951, allocations: 244.5 kB / 3.622 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/9.951, allocations: 80.27 kB / 3.622 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/9.952, allocations: 9.344 kB / 3.622 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/9.953, allocations: 2.924 MB / 3.625 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/9.953, allocations: 3.594 kB / 3.625 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/9.956, allocations: 2.023 MB / 3.627 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/9.956, allocations: 327.5 kB / 3.627 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/9.957, allocations: 11.41 kB / 3.627 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/9.958, allocations: 100.5 kB / 3.627 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/9.958, allocations: 54.7 kB / 3.627 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/9.958, allocations: 32.41 kB / 3.627 GB, free: 113.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007877/9.959, allocations: 0.6003 MB / 3.628 GB, free: 113.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/9.959, allocations: 0 / 3.628 GB, free: 113.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002414/9.961, allocations: 0.734 MB / 3.629 GB, free: 113.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004892/9.966, allocations: 4.536 MB / 3.633 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003107/9.969, allocations: 1.856 MB / 3.635 GB, free: 111.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/9.969, allocations: 0 / 3.635 GB, free: 111.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008801/9.97, allocations: 0.649 MB / 3.636 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/9.974, allocations: 0.7407 MB / 3.636 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/9.979, allocations: 3.026 MB / 3.639 GB, free: 110.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009769/9.981, allocations: 1.481 MB / 3.641 GB, free: 110 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002727/9.983, allocations: 0.9704 MB / 3.642 GB, free: 110 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/9.984, allocations: 452.6 kB / 3.642 GB, free: 110 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/9.984, allocations: 0 / 3.642 GB, free: 110 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09241/10.08, allocations: 46.93 MB / 3.688 GB, free: 108.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/10.08, allocations: 219.7 kB / 3.688 GB, free: 108.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/13.65, allocations: 0 / 3.688 GB, free: 108.4 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)