Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.476/1.476, allocations: 288.4 MB / 303.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009693/0.0009693, allocations: 183.5 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 0.631 GB, free: 9.773 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008949/0.000895, allocations: 90.3 kB / 0.7444 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006164/0.0006166, allocations: 15.73 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.329, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.7526/1.082, allocations: 97.17 MB / 1.075 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06307/1.145, allocations: 34.41 MB / 1.109 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008776/1.154, allocations: 143.2 kB / 1.109 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007222/1.161, allocations: 1.41 MB / 1.11 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01935/1.18, allocations: 4.255 MB / 1.114 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01255/1.193, allocations: 2.92 MB / 1.117 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02182/1.215, allocations: 10.88 MB / 1.128 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008582/1.223, allocations: 2.888 MB / 1.131 GB, free: 22.04 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/1.235, allocations: 3.341 MB / 1.134 GB, free: 20.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008378/1.244, allocations: 2.794 MB / 1.137 GB, free: 19.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002089/1.246, allocations: 166.7 kB / 1.137 GB, free: 19.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/1.257, allocations: 2.26 MB / 1.139 GB, free: 18.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003237/1.26, allocations: 1.04 MB / 1.14 GB, free: 17.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.008651/1.269, allocations: 1.977 MB / 1.142 GB, free: 16.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01377/1.282, allocations: 5.649 MB / 1.147 GB, free: 12.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/1.282, allocations: 0 / 1.147 GB, free: 12.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.801e-06/1.282, allocations: 0 / 1.147 GB, free: 12.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003904/1.283, allocations: 3.938 kB / 1.147 GB, free: 12.68 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01802/1.301, allocations: 4.319 MB / 1.152 GB, free: 9.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.696e-05/1.301, allocations: 14.12 kB / 1.152 GB, free: 9.691 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001428/1.302, allocations: 291.8 kB / 1.152 GB, free: 9.461 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007869/1.31, allocations: 1.28 MB / 1.153 GB, free: 8.887 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/1.324, allocations: 4.256 MB / 1.157 GB, free: 5.949 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/1.324, allocations: 184.7 kB / 1.158 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005831/1.325, allocations: 235.4 kB / 1.158 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005936/1.331, allocations: 2.73 MB / 1.16 GB, free: 4.078 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/1.331, allocations: 7.219 kB / 1.16 GB, free: 4.074 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/1.331, allocations: 80.69 kB / 1.161 GB, free: 4.012 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/1.331, allocations: 51.88 kB / 1.161 GB, free: 4.012 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004938/1.336, allocations: 1.99 MB / 1.163 GB, free: 3.039 MB / 0.698 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.02067/1.357, allocations: 12.41 MB / 1.175 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/1.361, allocations: 1.602 MB / 1.176 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/1.362, allocations: 0.751 MB / 1.177 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008704/1.371, allocations: 4.066 MB / 1.181 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/1.371, allocations: 47.56 kB / 1.181 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001876/1.373, allocations: 194.4 kB / 1.181 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 4.789e-06/1.373, allocations: 3.938 kB / 1.181 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.009291/1.382, allocations: 3.132 MB / 1.184 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.382, allocations: 68.34 kB / 1.184 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/1.388, allocations: 3.347 MB / 1.188 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/1.388, allocations: 64.33 kB / 1.188 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/1.39, allocations: 1.764 MB / 1.189 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/1.39, allocations: 383.6 kB / 1.19 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.39, allocations: 28 kB / 1.19 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.391, allocations: 381.9 kB / 1.19 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/1.393, allocations: 0.8627 MB / 1.191 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/1.395, allocations: 1.566 MB / 1.192 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004344/1.4, allocations: 2.336 MB / 1.195 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.4, allocations: 4 kB / 1.195 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.006859/1.407, allocations: 2.927 MB / 1.198 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005125/1.407, allocations: 0.6353 MB / 1.198 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/1.407, allocations: 16 kB / 1.198 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/1.409, allocations: 407.1 kB / 1.199 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/1.411, allocations: 427.3 kB / 1.199 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/1.413, allocations: 2.752 MB / 1.202 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/1.416, allocations: 211.8 kB / 1.202 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/1.417, allocations: 159.9 kB / 1.202 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.417, allocations: 5.406 kB / 1.202 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006536/1.423, allocations: 3.157 MB / 1.205 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/1.423, allocations: 20.25 kB / 1.205 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/1.426, allocations: 0.8505 MB / 1.206 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/1.428, allocations: 403.3 kB / 1.206 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.445, allocations: 12.38 MB / 1.218 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/1.449, allocations: 203.7 kB / 1.219 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/1.449, allocations: 132 kB / 1.219 GB, free: 10.89 MB / 0.7605 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 (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002409/1.452, allocations: 0.8674 MB / 1.22 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008743/1.453, allocations: 355.3 kB / 1.22 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006578/1.459, allocations: 2.69 MB / 1.223 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/1.459, allocations: 23.92 kB / 1.223 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.459, allocations: 0 / 1.223 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/1.459, allocations: 7.969 kB / 1.223 GB, free: 6.914 MB / 0.7605 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 postOpt removeSimpleEquations (simulation): time 0.01185/1.471, allocations: 4.906 MB / 1.227 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.471, allocations: 0 / 1.227 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.473, allocations: 251.7 kB / 1.228 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009688/1.474, allocations: 385.7 kB / 1.228 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.474, allocations: 51.89 kB / 1.228 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/1.476, allocations: 2.627 MB / 1.231 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.476, allocations: 3.984 kB / 1.231 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/1.482, allocations: 2.437 MB / 1.233 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.484, allocations: 0.5859 MB / 1.234 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006975/1.485, allocations: 31.94 kB / 1.234 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.487, allocations: 203.6 kB / 1.234 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/1.487, allocations: 81.19 kB / 1.234 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.488, allocations: 79.94 kB / 1.234 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.004186/1.492, allocations: 2.219 MB / 1.236 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.81e-07/1.492, allocations: 0 / 1.236 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008323/1.5, allocations: 1.811 MB / 1.238 GB, free: 7.02 MB / 0.7761 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 (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007791/1.508, allocations: 3.397 MB / 1.241 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009933/1.518, allocations: 4.125 MB / 1.245 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.518, allocations: 0 / 1.245 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002423/1.52, allocations: 0.9017 MB / 1.246 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/1.531, allocations: 1.68 MB / 1.248 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07333/1.604, allocations: 25.9 MB / 1.273 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003369/1.607, allocations: 2.234 MB / 1.275 GB, free: 14.58 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00563/1.613, allocations: 0.8732 MB / 1.276 GB, free: 13.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002908/1.616, allocations: 1.616 MB / 1.278 GB, free: 12.09 MB / 0.823 GB Notification: Performance of SimCode: time 3.426e-06/1.616, allocations: 4 kB / 1.278 GB, free: 12.08 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2405/1.857, allocations: 111.6 MB / 1.387 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004773/1.857, allocations: 274.4 kB / 1.387 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.675/7.532, allocations: 0 / 1.387 GB, free: 13.01 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)