Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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 0.8912/0.8912, 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.001312/0.001313, allocations: 176.8 kB / 182.2 MB, free: 9.43 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.68/1.68, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001069/0.001069, allocations: 99.83 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 276.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.092e-05, allocations: 0 / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5057, allocations: 82.78 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.596/6.102, allocations: 1.855 GB / 2.613 GB, free: 162.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/6.102, allocations: 82.64 kB / 2.613 GB, free: 162.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.579/10.68, allocations: 0.9989 GB / 3.612 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.344e-06/10.68, allocations: 3.031 kB / 3.612 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001229/10.68, allocations: 34.94 kB / 3.612 GB, free: 102.1 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007171/10.69, allocations: 1.784 MB / 3.614 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/10.69, allocations: 10.94 kB / 3.614 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/10.69, allocations: 0.5498 MB / 3.614 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/10.69, allocations: 1.079 MB / 3.615 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/10.69, allocations: 163.9 kB / 3.615 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/10.7, allocations: 53.66 kB / 3.615 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001662/10.7, allocations: 0.9902 MB / 3.616 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/10.7, allocations: 1.028 MB / 3.617 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/10.7, allocations: 6.25 kB / 3.617 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/10.7, allocations: 0 / 3.617 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/10.7, allocations: 48.75 kB / 3.618 GB, free: 101.1 MB / 0.7136 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.006711/10.71, allocations: 4.009 MB / 3.621 GB, free: 99.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/10.71, allocations: 0.7317 MB / 3.622 GB, free: 99.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/10.71, allocations: 499.3 kB / 3.623 GB, free: 99.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008962/10.71, allocations: 0.6124 MB / 3.623 GB, free: 99.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/10.71, allocations: 43.91 kB / 3.623 GB, free: 98.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/10.71, allocations: 0 / 3.623 GB, free: 98.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002514/10.71, allocations: 1.135 MB / 3.624 GB, free: 98.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/10.71, allocations: 59.91 kB / 3.624 GB, free: 98.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008644/10.71, allocations: 0.5576 MB / 3.625 GB, free: 98.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/10.71, allocations: 28.89 kB / 3.625 GB, free: 98.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/10.71, allocations: 452.7 kB / 3.625 GB, free: 98.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/10.71, allocations: 257.5 kB / 3.626 GB, free: 98.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/10.71, allocations: 0 / 3.626 GB, free: 98.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001119/10.71, allocations: 334.2 kB / 3.626 GB, free: 98.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/10.71, allocations: 399.7 kB / 3.626 GB, free: 98.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/10.71, allocations: 0.5245 MB / 3.627 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/10.71, allocations: 0.5783 MB / 3.627 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/10.71, allocations: 0 / 3.627 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002126/10.72, allocations: 1.173 MB / 3.629 GB, free: 97.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/10.72, allocations: 488.8 kB / 3.629 GB, free: 97.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/10.72, allocations: 0 / 3.629 GB, free: 97.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/10.72, allocations: 7.594 kB / 3.629 GB, free: 97.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/10.72, allocations: 279.4 kB / 3.629 GB, free: 97.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005337/10.72, allocations: 1.204 MB / 3.631 GB, free: 96.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/10.72, allocations: 177 kB / 3.631 GB, free: 96.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/10.72, allocations: 40.58 kB / 3.631 GB, free: 96.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/10.72, allocations: 6.719 kB / 3.631 GB, free: 96.18 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001844/10.72, allocations: 1.066 MB / 3.632 GB, free: 96.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/10.72, allocations: 1.812 kB / 3.632 GB, free: 96.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/10.72, allocations: 6.75 kB / 3.632 GB, free: 96.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/10.72, allocations: 255.8 kB / 3.632 GB, free: 96.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/10.72, allocations: 5.312 kB / 3.632 GB, free: 96.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/10.73, allocations: 173.3 kB / 3.632 GB, free: 96.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/10.73, allocations: 39.28 kB / 3.632 GB, free: 96.15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002695/10.73, allocations: 126.7 kB / 3.632 GB, free: 96.04 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001799/10.73, allocations: 1.077 MB / 3.633 GB, free: 95.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/10.73, allocations: 93.53 kB / 3.633 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/10.73, allocations: 1.199 MB / 3.635 GB, free: 95.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/10.73, allocations: 9.125 kB / 3.635 GB, free: 95.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/10.73, allocations: 3.953 kB / 3.635 GB, free: 95.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/10.73, allocations: 3.703 kB / 3.635 GB, free: 95.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/10.73, allocations: 2.571 MB / 3.637 GB, free: 95.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/10.73, allocations: 5.5 kB / 3.637 GB, free: 95.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/10.74, allocations: 257.4 kB / 3.637 GB, free: 95.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/10.74, allocations: 6.781 kB / 3.637 GB, free: 95.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/10.74, allocations: 29.02 kB / 3.637 GB, free: 95.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000402/10.74, allocations: 1.191 MB / 3.639 GB, free: 94.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/10.74, allocations: 6.031 kB / 3.639 GB, free: 94.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/10.74, allocations: 1.493 MB / 3.64 GB, free: 93.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/10.74, allocations: 306.2 kB / 3.64 GB, free: 93.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/10.74, allocations: 7.062 kB / 3.64 GB, free: 93.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/10.74, allocations: 157.2 kB / 3.641 GB, free: 93.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/10.74, allocations: 67.06 kB / 3.641 GB, free: 93.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/10.74, allocations: 38.08 kB / 3.641 GB, free: 93.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005485/10.74, allocations: 443.2 kB / 3.641 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/10.74, allocations: 3.562 kB / 3.641 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002025/10.74, allocations: 0.6772 MB / 3.642 GB, free: 93.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.006063/10.75, allocations: 5.574 MB / 3.647 GB, free: 90.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002844/10.75, allocations: 1.612 MB / 3.649 GB, free: 90.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/10.75, allocations: 0 / 3.649 GB, free: 90.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008077/10.75, allocations: 0.5202 MB / 3.649 GB, free: 90.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/10.75, allocations: 422.2 kB / 3.65 GB, free: 90.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/10.77, allocations: 2.545 MB / 3.652 GB, free: 89.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/10.77, allocations: 1.121 MB / 3.653 GB, free: 89.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002132/10.77, allocations: 442.5 kB / 3.654 GB, free: 89.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/10.77, allocations: 376.9 kB / 3.654 GB, free: 89.1 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/10.77, allocations: 0 / 3.654 GB, free: 89.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08084/10.85, allocations: 43.57 MB / 3.697 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/10.85, allocations: 214.8 kB / 3.697 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.806/14.66, allocations: 4 kB / 3.697 GB, free: 87.32 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)