Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.001443/0.001443, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.325/1.325, allocations: 222.9 MB / 241 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.002155/0.002155, allocations: 288.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9788/0.9788, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002032, allocations: 87.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4546, allocations: 86.99 MB / 0.767 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05741/0.512, allocations: 58.54 MB / 0.8242 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02926/0.5414, allocations: 19.95 MB / 0.8437 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.5451, allocations: 87.5 kB / 0.8438 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005891/0.551, allocations: 1.987 MB / 0.8457 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007987/0.5591, allocations: 2.957 MB / 0.8486 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006137/0.5652, allocations: 2.344 MB / 0.8509 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02022/0.5855, allocations: 14.42 MB / 0.865 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003266/0.5887, allocations: 1.815 MB / 0.8667 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/0.5937, allocations: 2.133 MB / 0.8688 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.5964, allocations: 1.564 MB / 0.8704 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.5972, allocations: 216 kB / 0.8706 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/0.6021, allocations: 2.347 MB / 0.8729 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.6034, allocations: 0.8879 MB / 0.8737 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.6057, allocations: 1.415 MB / 0.8751 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008172/0.6139, allocations: 4.697 MB / 0.8797 GB, free: 352 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6139, allocations: 3.938 kB / 0.8797 GB, free: 348 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6139, allocations: 0 / 0.8797 GB, free: 348 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001386/0.6141, allocations: 0 / 0.8797 GB, free: 348 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.008086/0.6222, allocations: 3.273 MB / 0.8829 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.6222, allocations: 12.03 kB / 0.8829 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/0.6282, allocations: 0.9409 MB / 0.8838 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00911/0.6373, allocations: 3.563 MB / 0.8873 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.6375, allocations: 94.03 kB / 0.8874 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000384/0.6379, allocations: 116 kB / 0.8875 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.6409, allocations: 1.522 MB / 0.889 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.641, allocations: 4 kB / 0.889 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.6411, allocations: 44 kB / 0.889 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.6411, allocations: 28 kB / 0.8891 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.6442, allocations: 1.331 MB / 0.8904 GB, free: 5.191 MB / 0.6544 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.01001/0.6543, allocations: 7.162 MB / 0.8974 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.6569, allocations: 1.01 MB / 0.8983 GB, free: 12.56 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.6581, allocations: 0.5079 MB / 0.8988 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004197/0.6623, allocations: 3.02 MB / 0.9018 GB, free: 8.746 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.6624, allocations: 43.06 kB / 0.9018 GB, free: 8.695 MB / 0.67 GB Notification: Performance of pre-optimization done (n=58): time 3.617e-06/0.6624, allocations: 0 / 0.9018 GB, free: 8.695 MB / 0.67 GB Notification: Performance of matching and sorting (n=58): time 0.00491/0.6673, allocations: 1.716 MB / 0.9035 GB, free: 6.953 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.6674, allocations: 55.97 kB / 0.9036 GB, free: 6.887 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.6713, allocations: 2.667 MB / 0.9062 GB, free: 4.203 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002012/0.6715, allocations: 37.7 kB / 0.9062 GB, free: 4.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008605/0.6723, allocations: 1.056 MB / 0.9072 GB, free: 3.094 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.6726, allocations: 209 kB / 0.9074 GB, free: 2.887 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005849/0.6732, allocations: 443.1 kB / 0.9079 GB, free: 2.449 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.6733, allocations: 305.1 kB / 0.9081 GB, free: 2.148 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.6752, allocations: 1.153 MB / 0.9093 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.6776, allocations: 1.551 MB / 0.9108 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.6814, allocations: 2.465 MB / 0.9132 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.6814, allocations: 4 kB / 0.9132 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005412/0.6869, allocations: 3.053 MB / 0.9162 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.6869, allocations: 8 kB / 0.9162 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.6869, allocations: 8 kB / 0.9162 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000451/0.6874, allocations: 108.8 kB / 0.9163 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6888, allocations: 347.7 kB / 0.9166 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005286/0.6894, allocations: 0.6109 MB / 0.9172 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.6914, allocations: 230.1 kB / 0.9174 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.6916, allocations: 99.95 kB / 0.9175 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002637/0.6943, allocations: 1.511 MB / 0.919 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002055/0.6964, allocations: 1.368 MB / 0.9203 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003355/0.6997, allocations: 2.09 MB / 0.9224 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.045e-06/0.6997, allocations: 3.984 kB / 0.9224 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005279/0.705, allocations: 2.682 MB / 0.925 GB, free: 292 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.7051, allocations: 11.94 kB / 0.925 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.7051, allocations: 8 kB / 0.925 GB, free: 272 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/0.7057, allocations: 125.2 kB / 0.9251 GB, free: 144 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.707, allocations: 331.5 kB / 0.9255 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.7111, allocations: 2.833 MB / 0.9282 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.7135, allocations: 195 kB / 0.9284 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.7137, allocations: 79.97 kB / 0.9285 GB, free: 12.5 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005031/0.7142, allocations: 255.8 kB / 0.9287 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/0.7148, allocations: 236.8 kB / 0.929 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.7188, allocations: 1.593 MB / 0.9305 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.7188, allocations: 8 kB / 0.9305 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7188, allocations: 0 / 0.9305 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.7188, allocations: 3.984 kB / 0.9305 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006243/0.7251, allocations: 3.133 MB / 0.9336 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.7251, allocations: 7.938 kB / 0.9336 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008847/0.726, allocations: 172 kB / 0.9338 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.7263, allocations: 68.72 kB / 0.9338 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.739e-05/0.7264, allocations: 31.97 kB / 0.9339 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004046/0.7268, allocations: 0.607 MB / 0.9345 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.7268, allocations: 4 kB / 0.9345 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.7302, allocations: 1.524 MB / 0.9359 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009201/0.7312, allocations: 445.5 kB / 0.9364 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.7315, allocations: 12 kB / 0.9364 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.7326, allocations: 79.91 kB / 0.9365 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.7327, allocations: 60.36 kB / 0.9365 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.303e-05/0.7328, allocations: 47.97 kB / 0.9366 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00272/0.7356, allocations: 1.784 MB / 0.9383 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7356, allocations: 3.938 kB / 0.9383 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003383/0.739, allocations: 1.24 MB / 0.9395 GB, free: 0.9922 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001795/0.7408, allocations: 0.7883 MB / 0.9403 GB, free: 212 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006624/0.7474, allocations: 3.471 MB / 0.9437 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.7475, allocations: 0 / 0.9437 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.749, allocations: 0.5865 MB / 0.9442 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/0.7542, allocations: 1.225 MB / 0.9454 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/0.7615, allocations: 4.169 MB / 0.9495 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.7627, allocations: 1.713 MB / 0.9512 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/0.7636, allocations: 211.3 kB / 0.9514 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/0.7636, allocations: 7.938 kB / 0.9514 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of Templates: time 0.4643/1.228, allocations: 55.51 MB / 1.006 GB, free: 140.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)