Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_10_Buildings.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.00149/0.00149, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001738/0.001738, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 68.12 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.7593, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1221/0.8815, allocations: 106.5 MB / 1.271 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06024/0.9417, allocations: 35.45 MB / 1.306 GB, free: 5.465 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006743/0.9485, allocations: 163.1 kB / 1.306 GB, free: 5.305 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.9592, allocations: 2.966 MB / 1.309 GB, free: 2.328 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01846/0.9777, allocations: 5.794 MB / 1.315 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.9898, allocations: 4.134 MB / 1.319 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.05291/1.043, allocations: 32.4 MB / 1.35 GB, free: 7.949 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005773/1.049, allocations: 3.692 MB / 1.354 GB, free: 4.188 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00854/1.057, allocations: 4.42 MB / 1.358 GB, free: 15.76 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005195/1.062, allocations: 3.453 MB / 1.362 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001346/1.064, allocations: 480 kB / 1.362 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006584/1.07, allocations: 3.011 MB / 1.365 GB, free: 8.812 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002269/1.073, allocations: 1.959 MB / 1.367 GB, free: 6.848 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005407/1.078, allocations: 3.098 MB / 1.37 GB, free: 3.734 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/1.091, allocations: 9.462 MB / 1.379 GB, free: 10.24 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.092, allocations: 4 kB / 1.379 GB, free: 10.24 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.634e-06/1.092, allocations: 0 / 1.379 GB, free: 10.24 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002086/1.092, allocations: 0 / 1.379 GB, free: 10.24 MB / 1.107 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.01335/1.105, allocations: 6.483 MB / 1.385 GB, free: 3.637 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.105, allocations: 12.88 kB / 1.385 GB, free: 3.625 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/1.116, allocations: 1.92 MB / 1.387 GB, free: 1.695 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/1.133, allocations: 7.595 MB / 1.395 GB, free: 10.01 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/1.133, allocations: 188.3 kB / 1.395 GB, free: 9.82 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007778/1.134, allocations: 248 kB / 1.395 GB, free: 9.578 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/1.142, allocations: 3.409 MB / 1.399 GB, free: 6.027 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/1.142, allocations: 7.938 kB / 1.399 GB, free: 6.02 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/1.142, allocations: 95.94 kB / 1.399 GB, free: 5.926 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/1.142, allocations: 52 kB / 1.399 GB, free: 5.875 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006536/1.148, allocations: 2.569 MB / 1.401 GB, free: 3.289 MB / 1.123 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.02261/1.171, allocations: 15.25 MB / 1.416 GB, free: 3.137 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006221/1.177, allocations: 2.417 MB / 1.418 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/1.18, allocations: 1.047 MB / 1.419 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009657/1.19, allocations: 5.424 MB / 1.425 GB, free: 9.91 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/1.19, allocations: 47.56 kB / 1.425 GB, free: 9.855 MB / 1.154 GB Notification: Performance of pre-optimization done (n=115): time 3.256e-06/1.19, allocations: 0 / 1.425 GB, free: 9.855 MB / 1.154 GB Notification: Performance of matching and sorting (n=115): time 0.01276/1.203, allocations: 4.222 MB / 1.429 GB, free: 5.535 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/1.203, allocations: 60.41 kB / 1.429 GB, free: 5.461 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.213, allocations: 5.728 MB / 1.435 GB, free: 15.73 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005201/1.213, allocations: 65.7 kB / 1.435 GB, free: 15.66 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.216, allocations: 2.279 MB / 1.437 GB, free: 13.37 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/1.216, allocations: 426.2 kB / 1.437 GB, free: 12.95 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/1.218, allocations: 0.9114 MB / 1.438 GB, free: 12.03 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/1.218, allocations: 309 kB / 1.438 GB, free: 11.72 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004748/1.223, allocations: 2.899 MB / 1.441 GB, free: 8.816 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005427/1.229, allocations: 3.785 MB / 1.445 GB, free: 4.699 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009567/1.238, allocations: 6.174 MB / 1.451 GB, free: 14.25 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/1.238, allocations: 8 kB / 1.451 GB, free: 14.24 MB / 1.186 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01397/1.252, allocations: 7.797 MB / 1.459 GB, free: 6.398 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/1.252, allocations: 12 kB / 1.459 GB, free: 6.387 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/1.252, allocations: 24 kB / 1.459 GB, free: 6.363 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/1.254, allocations: 0.964 MB / 1.46 GB, free: 5.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/1.258, allocations: 0.6787 MB / 1.46 GB, free: 4.707 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/1.26, allocations: 2.959 MB / 1.463 GB, free: 1.645 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.264, allocations: 485.5 kB / 1.464 GB, free: 1.168 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005017/1.265, allocations: 223.9 kB / 1.464 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006226/1.271, allocations: 3.517 MB / 1.467 GB, free: 13.42 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005096/1.276, allocations: 3.309 MB / 1.471 GB, free: 9.777 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008376/1.285, allocations: 5.221 MB / 1.476 GB, free: 4.289 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.919e-05/1.285, allocations: 4 kB / 1.476 GB, free: 4.285 MB / 1.201 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01367/1.298, allocations: 6.921 MB / 1.482 GB, free: 13.32 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.298, allocations: 15.94 kB / 1.482 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/1.298, allocations: 20 kB / 1.482 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/1.302, allocations: 1.085 MB / 1.483 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/1.305, allocations: 0.6435 MB / 1.484 GB, free: 11.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/1.326, allocations: 16.54 MB / 1.5 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/1.331, allocations: 382.1 kB / 1.501 GB, free: 9.945 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006563/1.332, allocations: 187.9 kB / 1.501 GB, free: 9.762 MB / 1.232 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.0009453/1.333, allocations: 335.5 kB / 1.501 GB, free: 9.426 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.334, allocations: 497.2 kB / 1.502 GB, free: 8.934 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009273/1.343, allocations: 3.538 MB / 1.505 GB, free: 5.379 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/1.343, allocations: 7.969 kB / 1.505 GB, free: 5.371 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.343, allocations: 0 / 1.505 GB, free: 5.371 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/1.346, allocations: 0.8142 MB / 1.506 GB, free: 4.531 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.347, allocations: 24 kB / 1.506 GB, free: 4.508 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003189/1.35, allocations: 163.7 kB / 1.506 GB, free: 4.348 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.35, allocations: 129.1 kB / 1.506 GB, free: 4.219 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008127/1.358, allocations: 2.694 MB / 1.509 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00988/1.368, allocations: 4.136 MB / 1.513 GB, free: 13.34 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002668/1.371, allocations: 1.037 MB / 1.514 GB, free: 12.31 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007007/1.378, allocations: 3.798 MB / 1.518 GB, free: 8.52 MB / 1.248 GB Notification: Performance of Backend: time 8.62e-07/1.378, allocations: 0 / 1.518 GB, free: 8.52 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01894/1.397, allocations: 8.507 MB / 1.526 GB, free: 15.96 MB / 1.264 GB Notification: Performance of SimCode: time 0.02264/1.42, allocations: 11.03 MB / 1.537 GB, free: 4.941 MB / 1.264 GB Notification: Performance of Templates: time 0.6484/2.068, allocations: 125.6 MB / 1.659 GB, free: 285.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)