Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001121/0.00112, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001664/0.001664, allocations: 187.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 71.59 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2457, allocations: 114.6 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.4113/0.6571, allocations: 57.94 MB / 0.8406 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03255/0.6897, allocations: 20.64 MB / 0.8608 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004721/0.6944, allocations: 83.75 kB / 0.8608 GB, free: 12.92 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00466/0.6992, allocations: 1.157 MB / 0.862 GB, free: 12.24 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.7096, allocations: 2.662 MB / 0.8646 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007981/0.7177, allocations: 2.215 MB / 0.8667 GB, free: 9.562 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009126/0.7268, allocations: 4.723 MB / 0.8713 GB, free: 7.312 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.7311, allocations: 1.739 MB / 0.873 GB, free: 6.227 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00599/0.7371, allocations: 1.943 MB / 0.8749 GB, free: 5.074 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.7405, allocations: 1.413 MB / 0.8763 GB, free: 4.188 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0009581/0.7415, allocations: 189.3 kB / 0.8765 GB, free: 4.184 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00593/0.7474, allocations: 2.001 MB / 0.8785 GB, free: 3.113 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.7488, allocations: 0.6061 MB / 0.879 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002968/0.7518, allocations: 1.064 MB / 0.8801 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008888/0.7607, allocations: 3.613 MB / 0.8836 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.7607, allocations: 0 / 0.8836 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.033e-06/0.7607, allocations: 0 / 0.8836 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001368/0.7609, allocations: 0 / 0.8836 GB, free: 15.49 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.007594/0.7685, allocations: 2.494 MB / 0.886 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.7686, allocations: 13.28 kB / 0.8861 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.7722, allocations: 0.574 MB / 0.8866 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.7781, allocations: 1.816 MB / 0.8884 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.7783, allocations: 90.59 kB / 0.8885 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.7788, allocations: 112.3 kB / 0.8886 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.7826, allocations: 1.277 MB / 0.8898 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.7827, allocations: 1.094 kB / 0.8898 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.7829, allocations: 41.97 kB / 0.8899 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.7829, allocations: 25.81 kB / 0.8899 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.7859, allocations: 0.9695 MB / 0.8908 GB, free: 10.59 MB / 0.6856 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.01122/0.7971, allocations: 6.04 MB / 0.8967 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.7995, allocations: 0.7196 MB / 0.8974 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009208/0.8004, allocations: 376.7 kB / 0.8978 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004261/0.8047, allocations: 2.446 MB / 0.9002 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.8048, allocations: 37.44 kB / 0.9002 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=56): time 3.216e-06/0.8048, allocations: 0 / 0.9002 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of matching and sorting (n=56): time 0.004298/0.8091, allocations: 1.243 MB / 0.9014 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.8092, allocations: 58.84 kB / 0.9015 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.8125, allocations: 1.586 MB / 0.9031 GB, free: 116 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/0.8128, allocations: 37.7 kB / 0.9031 GB, free: 72 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008851/0.8137, allocations: 0.8188 MB / 0.9039 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.814, allocations: 201.3 kB / 0.9041 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/0.8145, allocations: 210.4 kB / 0.9043 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8146, allocations: 338 kB / 0.9046 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.8157, allocations: 432.6 kB / 0.905 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.8171, allocations: 0.7399 MB / 0.9057 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.8196, allocations: 1.109 MB / 0.9068 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.8196, allocations: 4 kB / 0.9068 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003613/0.8232, allocations: 1.353 MB / 0.9081 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.8233, allocations: 8 kB / 0.9082 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.8233, allocations: 8 kB / 0.9082 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/0.8238, allocations: 101.2 kB / 0.9083 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/0.8247, allocations: 215.7 kB / 0.9085 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000543/0.8253, allocations: 0.6172 MB / 0.9091 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.8268, allocations: 131 kB / 0.9092 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.8269, allocations: 71.89 kB / 0.9093 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001474/0.8284, allocations: 0.6854 MB / 0.9099 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001111/0.8295, allocations: 0.6665 MB / 0.9106 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00179/0.8313, allocations: 0.9748 MB / 0.9115 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.698e-06/0.8313, allocations: 4 kB / 0.9115 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of matching and sorting (n=104) (initialization_lambda0): time 0.003045/0.8344, allocations: 1.236 MB / 0.9127 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.8344, allocations: 8 kB / 0.9127 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.8344, allocations: 8 kB / 0.9128 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.835, allocations: 125.2 kB / 0.9129 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.8358, allocations: 199.7 kB / 0.9131 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.8402, allocations: 2.882 MB / 0.9159 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.8418, allocations: 95.47 kB / 0.916 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.842, allocations: 57.86 kB / 0.916 GB, free: 2.027 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 (98): * Single equations (assignments): 95 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0003721/0.8424, allocations: 232 kB / 0.9162 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.8428, allocations: 169.8 kB / 0.9164 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.8459, allocations: 1.219 MB / 0.9176 GB, free: 432 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.846, allocations: 11.98 kB / 0.9176 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.846, allocations: 0 / 0.9176 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.846, allocations: 15.92 kB / 0.9176 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/0.8508, allocations: 2.425 MB / 0.92 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8509, allocations: 4 kB / 0.92 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.8515, allocations: 137.6 kB / 0.9201 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.8518, allocations: 79.39 kB / 0.9202 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.8519, allocations: 23.92 kB / 0.9202 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004324/0.8523, allocations: 0.5914 MB / 0.9208 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8523, allocations: 4 kB / 0.9208 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.855, allocations: 1.179 MB / 0.922 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/0.8558, allocations: 338.6 kB / 0.9223 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.8561, allocations: 23.31 kB / 0.9223 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.8568, allocations: 47.95 kB / 0.9224 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.857, allocations: 48.48 kB / 0.9224 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.942e-05/0.857, allocations: 39.97 kB / 0.9224 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001688/0.8587, allocations: 1.069 MB / 0.9235 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8588, allocations: 4 kB / 0.9235 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003107/0.8619, allocations: 0.9277 MB / 0.9244 GB, free: 9.266 MB / 0.7169 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 (67): * Single equations (assignments): 58 * 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.001529/0.8634, allocations: 0.6159 MB / 0.925 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00433/0.8678, allocations: 1.685 MB / 0.9266 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8678, allocations: 0 / 0.9266 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.8689, allocations: 459.4 kB / 0.9271 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004059/0.873, allocations: 0.8448 MB / 0.9279 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.878, allocations: 2.911 MB / 0.9307 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.879, allocations: 1.377 MB / 0.9321 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/0.8796, allocations: 155.4 kB / 0.9322 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.8796, allocations: 0 / 0.9322 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of Templates: time 0.0566/0.9362, allocations: 39.85 MB / 0.9712 GB, free: 9.621 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)