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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004363/0.004363, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001024/0.001024, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 297 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9235/0.9235, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 95.86 kB / 0.6814 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4241, allocations: 86.98 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.107/0.5312, allocations: 106.4 MB / 0.8703 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04987/0.5811, allocations: 35.45 MB / 0.9049 GB, free: 5.59 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006332/0.5874, allocations: 163.1 kB / 0.9051 GB, free: 5.43 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00901/0.5965, allocations: 2.92 MB / 0.9079 GB, free: 2.496 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01513/0.6117, allocations: 5.576 MB / 0.9134 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.6242, allocations: 4.126 MB / 0.9174 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0471/0.6713, allocations: 32.39 MB / 0.949 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007603/0.6789, allocations: 3.695 MB / 0.9527 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.6891, allocations: 4.422 MB / 0.957 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4201/1.109, allocations: 3.435 MB / 0.9603 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002089/1.111, allocations: 482 kB / 0.9608 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008382/1.12, allocations: 3.005 MB / 0.9637 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002746/1.123, allocations: 1.958 MB / 0.9656 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005991/1.129, allocations: 3.097 MB / 0.9687 GB, free: 35.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01506/1.144, allocations: 9.485 MB / 0.9779 GB, free: 34.69 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.144, allocations: 0 / 0.9779 GB, free: 34.69 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/1.144, allocations: 3.906 kB / 0.9779 GB, free: 34.69 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002384/1.144, allocations: 0 / 0.9779 GB, free: 34.69 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01195/1.156, allocations: 6.489 MB / 0.9843 GB, free: 31.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.156, allocations: 11.38 kB / 0.9843 GB, free: 31.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/1.166, allocations: 1.909 MB / 0.9861 GB, free: 31.24 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/1.181, allocations: 7.595 MB / 0.9936 GB, free: 30.13 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/1.181, allocations: 186.9 kB / 0.9937 GB, free: 30.12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007288/1.182, allocations: 249.2 kB / 0.994 GB, free: 30.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005744/1.188, allocations: 3.404 MB / 0.9973 GB, free: 29.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/1.188, allocations: 3 kB / 0.9973 GB, free: 29.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/1.188, allocations: 89.59 kB / 0.9974 GB, free: 29.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/1.188, allocations: 57.97 kB / 0.9974 GB, free: 29.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005401/1.194, allocations: 2.577 MB / 1 GB, free: 29.72 MB / 0.7169 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.0214/1.215, allocations: 15.24 MB / 1.015 GB, free: 23.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004863/1.22, allocations: 2.42 MB / 1.017 GB, free: 23.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/1.222, allocations: 1.044 MB / 1.018 GB, free: 23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007848/1.23, allocations: 5.426 MB / 1.024 GB, free: 20.19 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.23, allocations: 48.52 kB / 1.024 GB, free: 20.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 3.266e-06/1.23, allocations: 3.062 kB / 1.024 GB, free: 20.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.01053/1.241, allocations: 4.22 MB / 1.028 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/1.241, allocations: 67.38 kB / 1.028 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006905/1.248, allocations: 5.734 MB / 1.033 GB, free: 17.31 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000352/1.248, allocations: 63.05 kB / 1.033 GB, free: 17.28 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.249, allocations: 2.278 MB / 1.036 GB, free: 16.55 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/1.25, allocations: 425.8 kB / 1.036 GB, free: 16.26 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.251, allocations: 0.9121 MB / 1.037 GB, free: 16.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.228e-05/1.251, allocations: 305.1 kB / 1.037 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/1.255, allocations: 2.903 MB / 1.04 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003955/1.259, allocations: 3.783 MB / 1.044 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007026/1.266, allocations: 6.17 MB / 1.05 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/1.266, allocations: 8 kB / 1.05 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01138/1.277, allocations: 7.8 MB / 1.057 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/1.277, allocations: 12 kB / 1.057 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.277, allocations: 23.94 kB / 1.057 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/1.279, allocations: 0.9696 MB / 1.058 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/1.282, allocations: 0.6776 MB / 1.059 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/1.285, allocations: 2.962 MB / 1.062 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/1.29, allocations: 464.8 kB / 1.062 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000521/1.29, allocations: 227.9 kB / 1.063 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007217/1.297, allocations: 3.53 MB / 1.066 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005367/1.303, allocations: 3.313 MB / 1.069 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008179/1.311, allocations: 5.223 MB / 1.074 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.206e-05/1.311, allocations: 4 kB / 1.074 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01285/1.324, allocations: 6.915 MB / 1.081 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/1.324, allocations: 12 kB / 1.081 GB, free: 3.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/1.324, allocations: 20 kB / 1.081 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/1.327, allocations: 1.085 MB / 1.082 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.33, allocations: 0.6384 MB / 1.083 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/1.351, allocations: 16.54 MB / 1.099 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/1.356, allocations: 383.3 kB / 1.099 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007803/1.357, allocations: 190 kB / 1.1 GB, free: 144 kB / 0.7637 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001176/1.358, allocations: 331.3 kB / 1.1 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/1.36, allocations: 497.5 kB / 1.1 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009294/1.369, allocations: 3.54 MB / 1.104 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/1.37, allocations: 23.97 kB / 1.104 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.37, allocations: 0 / 1.104 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.37, allocations: 7.969 kB / 1.104 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.385, allocations: 6.529 MB / 1.11 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.386, allocations: 0 / 1.11 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.387, allocations: 316.8 kB / 1.111 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/1.388, allocations: 461.1 kB / 1.111 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/1.389, allocations: 55.94 kB / 1.111 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/1.391, allocations: 2.805 MB / 1.114 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.391, allocations: 2.812 kB / 1.114 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/1.398, allocations: 3.262 MB / 1.117 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/1.4, allocations: 0.8258 MB / 1.118 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/1.402, allocations: 27.94 kB / 1.118 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/1.405, allocations: 163.8 kB / 1.118 GB, free: 13.2 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.405, allocations: 92.66 kB / 1.118 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/1.405, allocations: 95.92 kB / 1.118 GB, free: 13.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.007318/1.413, allocations: 3.798 MB / 1.122 GB, free: 9.227 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.41e-07/1.413, allocations: 3.938 kB / 1.122 GB, free: 9.223 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007418/1.42, allocations: 2.402 MB / 1.124 GB, free: 6.816 MB / 0.795 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002285/1.423, allocations: 0.9443 MB / 1.125 GB, free: 5.949 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01552/1.438, allocations: 8.4 MB / 1.133 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/1.438, allocations: 0.75 kB / 1.133 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002935/1.441, allocations: 1.221 MB / 1.134 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01122/1.452, allocations: 2.55 MB / 1.137 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/1.469, allocations: 8.646 MB / 1.145 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003758/1.473, allocations: 2.953 MB / 1.148 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005931/1.479, allocations: 1.395 MB / 1.15 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/1.48, allocations: 391.2 kB / 1.15 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/1.48, allocations: 0 / 1.15 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.1696/1.65, allocations: 113 MB / 1.26 GB, free: 13.57 MB / 0.9356 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)