Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.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.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dpSystem",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.6665/0.6665, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 181.3 kB / 187.3 MB, free: 11.89 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.223/1.223, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0007866/0.0007866, allocations: 95.75 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 272.4 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.98e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3412, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.586/3.927, allocations: 1.91 GB / 2.675 GB, free: 95.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/3.928, allocations: 91.67 kB / 2.675 GB, free: 95.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.962/13.89, allocations: 3.163 GB / 5.838 GB, free: 50.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/13.89, allocations: 0 / 5.838 GB, free: 50.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004683/13.89, allocations: 114.6 kB / 5.838 GB, free: 50.16 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 711 * Number of variables: 711 Notification: Performance of Generate backend data structure: time 0.01318/13.9, allocations: 4.655 MB / 5.843 GB, free: 47.81 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/13.9, allocations: 10.09 kB / 5.843 GB, free: 47.81 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001023/13.9, allocations: 390.6 kB / 5.843 GB, free: 47.76 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009936/13.91, allocations: 1.465 MB / 5.844 GB, free: 47.49 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/13.93, allocations: 4.428 MB / 5.849 GB, free: 46.61 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/13.93, allocations: 239.4 kB / 5.849 GB, free: 46.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007305/13.93, allocations: 319.8 kB / 5.849 GB, free: 46.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00499/13.93, allocations: 3.216 MB / 5.852 GB, free: 46.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.364e-05/13.93, allocations: 3.719 kB / 5.852 GB, free: 46.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/13.93, allocations: 123.3 kB / 5.853 GB, free: 46.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/13.93, allocations: 101.9 kB / 5.853 GB, free: 46.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/13.94, allocations: 2.523 MB / 5.855 GB, free: 46.14 MB / 0.823 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.01889/13.95, allocations: 15.06 MB / 5.87 GB, free: 39.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/13.96, allocations: 1.778 MB / 5.872 GB, free: 39.05 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/13.96, allocations: 1.055 MB / 5.873 GB, free: 39.04 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/13.96, allocations: 236.7 kB / 5.873 GB, free: 38.84 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/13.96, allocations: 56.47 kB / 5.873 GB, free: 38.8 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002659/13.96, allocations: 0.5823 MB / 5.873 GB, free: 38.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=191): time 4.679e-06/13.96, allocations: 0 / 5.873 GB, free: 38.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=199): time 0.009757/13.97, allocations: 5.305 MB / 5.879 GB, free: 37.36 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/13.97, allocations: 72.06 kB / 5.879 GB, free: 37.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/13.98, allocations: 3.251 MB / 5.882 GB, free: 36.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003083/13.98, allocations: 80.33 kB / 5.882 GB, free: 36.02 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/13.98, allocations: 1.999 MB / 5.884 GB, free: 34.45 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005831/13.98, allocations: 0.689 MB / 5.885 GB, free: 33.91 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/13.98, allocations: 43.62 kB / 5.885 GB, free: 33.88 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/13.98, allocations: 397.9 kB / 5.885 GB, free: 33.54 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/13.98, allocations: 0.8074 MB / 5.886 GB, free: 33.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/13.98, allocations: 1.769 MB / 5.887 GB, free: 31.7 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02035/14, allocations: 7.182 MB / 5.894 GB, free: 29.12 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/14, allocations: 11.95 kB / 5.894 GB, free: 29.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004702/14.01, allocations: 2.993 MB / 5.897 GB, free: 26.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009997/14.01, allocations: 7.814 MB / 5.905 GB, free: 17.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/14.01, allocations: 16 kB / 5.905 GB, free: 17.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/14.01, allocations: 294.3 kB / 5.905 GB, free: 17.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/14.01, allocations: 0.513 MB / 5.906 GB, free: 17.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/14.01, allocations: 4.657 MB / 5.91 GB, free: 12.44 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004622/14.02, allocations: 351.2 kB / 5.911 GB, free: 12.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/14.02, allocations: 130.9 kB / 5.911 GB, free: 12.06 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/14.02, allocations: 4 kB / 5.911 GB, free: 12.06 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003717/14.02, allocations: 2.535 MB / 5.913 GB, free: 9.801 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/14.02, allocations: 23.5 kB / 5.913 GB, free: 9.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008323/14.02, allocations: 295 kB / 5.914 GB, free: 9.535 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/14.02, allocations: 0.4964 MB / 5.914 GB, free: 9.109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/14.03, allocations: 8.033 MB / 5.922 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/14.03, allocations: 340.2 kB / 5.922 GB, free: 480 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/14.03, allocations: 115.5 kB / 5.922 GB, free: 376 kB / 0.823 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005442/14.03, allocations: 269.2 kB / 5.923 GB, free: 108 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007065/14.03, allocations: 424.9 kB / 5.923 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/14.04, allocations: 2.656 MB / 5.926 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/14.04, allocations: 20 kB / 5.926 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/14.04, allocations: 4 kB / 5.926 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003096/14.04, allocations: 2.173 MB / 5.928 GB, free: 11.36 MB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.01244/14.05, allocations: 6.531 MB / 5.934 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/14.05, allocations: 8.188 kB / 5.934 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/14.06, allocations: 438.5 kB / 5.935 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007239/14.06, allocations: 281.8 kB / 5.935 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/14.06, allocations: 58.47 kB / 5.935 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/14.06, allocations: 4.58 MB / 5.939 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/14.06, allocations: 11.94 kB / 5.939 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5202/14.58, allocations: 5.208 MB / 5.944 GB, free: 69.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/14.58, allocations: 0.7496 MB / 5.945 GB, free: 69.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/14.58, allocations: 53.83 kB / 5.945 GB, free: 69.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00307/14.59, allocations: 279.4 kB / 5.946 GB, free: 69.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/14.59, allocations: 161.3 kB / 5.946 GB, free: 69.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/14.59, allocations: 95.2 kB / 5.946 GB, free: 69.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003691/14.59, allocations: 2.522 MB / 5.948 GB, free: 69.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/14.59, allocations: 0 / 5.948 GB, free: 69.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.007469/14.6, allocations: 2.566 MB / 5.951 GB, free: 69.43 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 184 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01448/14.61, allocations: 15.44 MB / 5.966 GB, free: 61.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006512/14.62, allocations: 4.452 MB / 5.97 GB, free: 60.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/14.62, allocations: 2.234 kB / 5.97 GB, free: 60.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/14.62, allocations: 1.313 MB / 5.971 GB, free: 60.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/14.63, allocations: 2.263 MB / 5.974 GB, free: 60.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/14.64, allocations: 7.063 MB / 5.981 GB, free: 58.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/14.65, allocations: 2.615 MB / 5.983 GB, free: 57.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006946/14.65, allocations: 1.604 MB / 5.985 GB, free: 57.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/14.65, allocations: 1.754 MB / 5.986 GB, free: 57.45 MB / 0.8386 GB Notification: Performance of SimCode: time 4.598e-06/14.65, allocations: 3.5 kB / 5.986 GB, free: 57.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2679/14.92, allocations: 220 MB / 6.201 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/14.92, allocations: 244 kB / 6.201 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.177/24.1, allocations: 0 / 6.201 GB, free: 11.58 MB / 0.8542 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dpSystem_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dpSystem.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)