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.001289/0.001289, allocations: 110 kB / 16.42 MB, free: 6.512 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.001232/0.001232, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 291.7 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3627, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09589/0.4587, allocations: 106.4 MB / 0.871 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04632/0.505, allocations: 35.45 MB / 0.9056 GB, free: 5.555 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004741/0.5098, allocations: 163.1 kB / 0.9058 GB, free: 5.395 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00652/0.5164, allocations: 2.91 MB / 0.9086 GB, free: 2.469 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.5283, allocations: 5.567 MB / 0.914 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008145/0.5365, allocations: 4.134 MB / 0.9181 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.04181/0.5783, allocations: 32.4 MB / 0.9497 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005105/0.5834, allocations: 3.688 MB / 0.9533 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00793/0.5914, allocations: 4.414 MB / 0.9576 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3405/0.9319, allocations: 3.448 MB / 0.961 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.9333, allocations: 480.5 kB / 0.9615 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006837/0.9402, allocations: 3.006 MB / 0.9644 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.9423, allocations: 1.956 MB / 0.9663 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003511/0.9458, allocations: 3.103 MB / 0.9693 GB, free: 35.9 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009361/0.9552, allocations: 9.478 MB / 0.9786 GB, free: 34.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9552, allocations: 3.375 kB / 0.9786 GB, free: 34.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9552, allocations: 1.031 kB / 0.9786 GB, free: 34.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001078/0.9553, allocations: 3.562 kB / 0.9786 GB, free: 34.82 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.009188/0.9645, allocations: 6.481 MB / 0.9849 GB, free: 31.69 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.9646, allocations: 10.62 kB / 0.9849 GB, free: 31.69 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.9747, allocations: 1.911 MB / 0.9868 GB, free: 31.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.9879, allocations: 7.601 MB / 0.9942 GB, free: 30.26 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.9881, allocations: 186.8 kB / 0.9944 GB, free: 30.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.9884, allocations: 248 kB / 0.9946 GB, free: 30.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005497/0.9939, allocations: 3.403 MB / 0.998 GB, free: 29.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.994, allocations: 3.375 kB / 0.998 GB, free: 29.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.9942, allocations: 95.16 kB / 0.9981 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.9943, allocations: 59.06 kB / 0.9981 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005699/1, allocations: 2.568 MB / 1.001 GB, free: 29.84 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.01596/1.016, allocations: 15.24 MB / 1.016 GB, free: 23.21 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005085/1.021, allocations: 2.407 MB / 1.018 GB, free: 23.15 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/1.023, allocations: 1.055 MB / 1.019 GB, free: 23.12 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006467/1.03, allocations: 5.43 MB / 1.024 GB, free: 20.29 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/1.03, allocations: 41.97 kB / 1.024 GB, free: 20.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 2.875e-06/1.03, allocations: 0 / 1.024 GB, free: 20.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.01057/1.04, allocations: 4.231 MB / 1.028 GB, free: 18.88 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/1.04, allocations: 63.38 kB / 1.028 GB, free: 18.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006156/1.047, allocations: 5.731 MB / 1.034 GB, free: 17.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002494/1.047, allocations: 66.73 kB / 1.034 GB, free: 17.38 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/1.048, allocations: 2.275 MB / 1.036 GB, free: 16.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/1.049, allocations: 423.9 kB / 1.037 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/1.05, allocations: 0.9141 MB / 1.038 GB, free: 16.17 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.278e-05/1.05, allocations: 304.9 kB / 1.038 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/1.053, allocations: 2.903 MB / 1.041 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00406/1.057, allocations: 3.775 MB / 1.044 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007246/1.065, allocations: 6.175 MB / 1.05 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.065, allocations: 4 kB / 1.05 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01137/1.076, allocations: 7.799 MB / 1.058 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.076, allocations: 12 kB / 1.058 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.076, allocations: 16.84 kB / 1.058 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/1.078, allocations: 0.9859 MB / 1.059 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/1.081, allocations: 0.6809 MB / 1.06 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/1.084, allocations: 2.96 MB / 1.063 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/1.087, allocations: 468.9 kB / 1.063 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/1.088, allocations: 227.9 kB / 1.063 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005625/1.093, allocations: 3.516 MB / 1.067 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004543/1.098, allocations: 3.31 MB / 1.07 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007714/1.106, allocations: 5.223 MB / 1.075 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.068e-05/1.106, allocations: 8 kB / 1.075 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01199/1.118, allocations: 6.922 MB / 1.082 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.118, allocations: 21.59 kB / 1.082 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.118, allocations: 16 kB / 1.082 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/1.121, allocations: 1.087 MB / 1.083 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/1.123, allocations: 0.6432 MB / 1.084 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/1.144, allocations: 16.54 MB / 1.1 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/1.149, allocations: 379.3 kB / 1.1 GB, free: 316 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004186/1.149, allocations: 187.9 kB / 1.1 GB, free: 128 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.0007261/1.15, allocations: 334.1 kB / 1.101 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007997/1.151, allocations: 493.3 kB / 1.101 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00861/1.159, allocations: 3.543 MB / 1.104 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.159, allocations: 7.969 kB / 1.104 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.159, allocations: 3.938 kB / 1.104 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.161, allocations: 0.8181 MB / 1.105 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005957/1.161, allocations: 24 kB / 1.105 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.164, allocations: 163.8 kB / 1.105 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.164, allocations: 125.1 kB / 1.106 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007522/1.172, allocations: 2.701 MB / 1.108 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008792/1.18, allocations: 4.139 MB / 1.112 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002517/1.183, allocations: 1.037 MB / 1.113 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005406/1.188, allocations: 3.798 MB / 1.117 GB, free: 14.99 MB / 0.795 GB Notification: Performance of Backend: time 4.3e-07/1.188, allocations: 0 / 1.117 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.204, allocations: 8.504 MB / 1.125 GB, free: 6.656 MB / 0.795 GB Notification: Performance of SimCode: time 0.01759/1.222, allocations: 11.01 MB / 1.136 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of Templates: time 0.181/1.402, allocations: 125.6 MB / 1.259 GB, free: 36 kB / 0.92 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)