Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.6842/0.6842, 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.0009135/0.0009137, allocations: 189.8 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.231/1.231, allocations: 221.3 MB / 441.4 MB, free: 4.68 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.000816/0.000816, allocations: 96.08 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 290.8 kB / 0.594 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.041e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.365, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6619/1.027, allocations: 400.5 MB / 1.155 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.027, allocations: 93.14 kB / 1.156 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.89/5.917, allocations: 1.468 GB / 2.623 GB, free: 78.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/5.917, allocations: 0 / 2.623 GB, free: 78.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004214/5.917, allocations: 105.4 kB / 2.623 GB, free: 78.71 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.008624/5.926, allocations: 3.702 MB / 2.627 GB, free: 76.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/5.926, allocations: 15.8 kB / 2.627 GB, free: 76.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005648/5.927, allocations: 291.2 kB / 2.627 GB, free: 76.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/5.932, allocations: 1.128 MB / 2.628 GB, free: 76.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05257/5.985, allocations: 28.85 MB / 2.656 GB, free: 75.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/5.985, allocations: 186.3 kB / 2.657 GB, free: 75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004714/5.986, allocations: 243.3 kB / 2.657 GB, free: 75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/5.989, allocations: 2.561 MB / 2.659 GB, free: 74.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/5.989, allocations: 3.625 kB / 2.659 GB, free: 74.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/5.99, allocations: 87.53 kB / 2.659 GB, free: 74.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/5.99, allocations: 56.61 kB / 2.659 GB, free: 74.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/5.992, allocations: 1.758 MB / 2.661 GB, free: 74.61 MB / 0.7448 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.01574/6.008, allocations: 12.32 MB / 2.673 GB, free: 68.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/6.01, allocations: 1.437 MB / 2.675 GB, free: 68.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/6.011, allocations: 0.6388 MB / 2.675 GB, free: 68.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006538/6.017, allocations: 4.18 MB / 2.679 GB, free: 66.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/6.017, allocations: 44.97 kB / 2.679 GB, free: 66.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001479/6.019, allocations: 231 kB / 2.68 GB, free: 66.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=119): time 3.366e-06/6.019, allocations: 1.094 kB / 2.68 GB, free: 66.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119): time 0.004149/6.023, allocations: 1.966 MB / 2.682 GB, free: 66.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/6.023, allocations: 66.19 kB / 2.682 GB, free: 66.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00403/6.027, allocations: 2.938 MB / 2.684 GB, free: 65.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000401/6.028, allocations: 60.89 kB / 2.684 GB, free: 65.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/6.029, allocations: 1.779 MB / 2.686 GB, free: 65.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/6.029, allocations: 408.6 kB / 2.687 GB, free: 65.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/6.029, allocations: 39.55 kB / 2.687 GB, free: 65.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/6.029, allocations: 383 kB / 2.687 GB, free: 64.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/6.03, allocations: 0.6546 MB / 2.688 GB, free: 64.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/6.031, allocations: 1.466 MB / 2.689 GB, free: 63.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/6.033, allocations: 0.8395 MB / 2.69 GB, free: 63.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/6.033, allocations: 5.531 kB / 2.69 GB, free: 63.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.004147/6.037, allocations: 2.681 MB / 2.693 GB, free: 63.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001248/6.038, allocations: 8.153 MB / 2.701 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/6.038, allocations: 26.33 kB / 2.701 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/6.04, allocations: 0.631 MB / 2.701 GB, free: 55.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/6.041, allocations: 393.9 kB / 2.702 GB, free: 55.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/6.044, allocations: 5.111 MB / 2.707 GB, free: 50.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/6.047, allocations: 225.9 kB / 2.707 GB, free: 50.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/6.048, allocations: 179.6 kB / 2.707 GB, free: 50.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/6.048, allocations: 3.969 kB / 2.707 GB, free: 50.91 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004723/6.052, allocations: 2.75 MB / 2.71 GB, free: 50.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/6.052, allocations: 16.31 kB / 2.71 GB, free: 50.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/6.055, allocations: 1.05 MB / 2.711 GB, free: 50.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/6.056, allocations: 371 kB / 2.711 GB, free: 50.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/6.07, allocations: 14.02 MB / 2.725 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/6.073, allocations: 213.7 kB / 2.725 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004547/6.074, allocations: 153.4 kB / 2.725 GB, free: 42.42 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007282/6.074, allocations: 230.1 kB / 2.725 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008523/6.075, allocations: 365.4 kB / 2.726 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006573/6.082, allocations: 2.849 MB / 2.728 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/6.082, allocations: 19.38 kB / 2.728 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/6.082, allocations: 0 / 2.728 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/6.082, allocations: 7.406 kB / 2.728 GB, free: 41.82 MB / 0.7448 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.01296/6.095, allocations: 4.963 MB / 2.733 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/6.095, allocations: 0 / 2.733 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/6.096, allocations: 213.5 kB / 2.733 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/6.098, allocations: 0.6317 MB / 2.734 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/6.098, allocations: 51.64 kB / 2.734 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/6.1, allocations: 4.977 MB / 2.739 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/6.1, allocations: 0 / 2.739 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/6.105, allocations: 2.574 MB / 2.741 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/6.107, allocations: 0.6199 MB / 2.742 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007577/6.108, allocations: 26.77 kB / 2.742 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/6.11, allocations: 211.5 kB / 2.742 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/6.11, allocations: 90.45 kB / 2.742 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/6.11, allocations: 81 kB / 2.742 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00376/6.114, allocations: 2.239 MB / 2.745 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/6.114, allocations: 0 / 2.745 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006994/6.121, allocations: 2.035 MB / 2.747 GB, free: 35.46 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007887/6.129, allocations: 5.375 MB / 2.752 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006072/6.135, allocations: 3.792 MB / 2.756 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/6.135, allocations: 0 / 2.756 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/6.137, allocations: 0.8522 MB / 2.756 GB, free: 32.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007448/6.144, allocations: 1.7 MB / 2.758 GB, free: 32.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/6.155, allocations: 5.474 MB / 2.763 GB, free: 30.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/6.157, allocations: 2.331 MB / 2.766 GB, free: 29.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005619/6.163, allocations: 1.292 MB / 2.767 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/6.165, allocations: 1.57 MB / 2.769 GB, free: 28.18 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/6.165, allocations: 0 / 2.769 GB, free: 28.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6048/6.77, allocations: 139.6 MB / 2.905 GB, free: 93.11 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/6.77, allocations: 255.5 kB / 2.905 GB, free: 92.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.098/12.87, allocations: 0 / 2.905 GB, free: 92.77 MB / 0.7761 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)