Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 252 MB / 267.3 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 180.2 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.377/2.377, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008819/0.0008814, allocations: 94.28 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004177, allocations: 12.94 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2509, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1013/0.3522, allocations: 102.9 MB / 1.001 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.08021/0.4324, allocations: 36.54 MB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0102/0.4427, allocations: 142.9 kB / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.009553/0.4523, allocations: 1.663 MB / 1.039 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02423/0.4766, allocations: 4.625 MB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01615/0.4928, allocations: 3.518 MB / 1.047 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.6383/1.131, allocations: 12.59 MB / 1.059 GB, free: 8.375 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006124/1.137, allocations: 2.913 MB / 1.062 GB, free: 8.078 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008783/1.146, allocations: 3.313 MB / 1.065 GB, free: 8.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007959/1.154, allocations: 2.953 MB / 1.068 GB, free: 8.031 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001125/1.155, allocations: 166 kB / 1.068 GB, free: 8.031 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007597/1.163, allocations: 2.24 MB / 1.07 GB, free: 8.031 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001868/1.165, allocations: 1.071 MB / 1.071 GB, free: 7.855 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003922/1.169, allocations: 2.072 MB / 1.073 GB, free: 7.148 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01098/1.18, allocations: 6.972 MB / 1.08 GB, free: 6.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.18, allocations: 1.062 kB / 1.08 GB, free: 6.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/1.18, allocations: 0 / 1.08 GB, free: 6.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001666/1.18, allocations: 3.188 kB / 1.08 GB, free: 6.422 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.009891/1.19, allocations: 4.306 MB / 1.085 GB, free: 20.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/1.19, allocations: 7.812 kB / 1.085 GB, free: 20.29 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004924/1.19, allocations: 295.6 kB / 1.085 GB, free: 20.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/1.196, allocations: 1.273 MB / 1.086 GB, free: 19.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009379/1.206, allocations: 4.25 MB / 1.09 GB, free: 19.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/1.206, allocations: 189 kB / 1.09 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004485/1.206, allocations: 236.1 kB / 1.091 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004761/1.211, allocations: 2.74 MB / 1.093 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/1.211, allocations: 0 / 1.093 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/1.211, allocations: 89.12 kB / 1.093 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/1.211, allocations: 52.03 kB / 1.093 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004406/1.216, allocations: 2.009 MB / 1.095 GB, free: 18.69 MB / 0.7136 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.01697/1.233, allocations: 12.39 MB / 1.107 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/1.236, allocations: 1.601 MB / 1.109 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/1.238, allocations: 0.7528 MB / 1.11 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00746/1.245, allocations: 4.046 MB / 1.114 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/1.246, allocations: 48.22 kB / 1.114 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001432/1.247, allocations: 197.6 kB / 1.114 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 4.579e-06/1.247, allocations: 0.5 kB / 1.114 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.008577/1.256, allocations: 3.139 MB / 1.117 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.256, allocations: 62.41 kB / 1.117 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/1.26, allocations: 3.377 MB / 1.12 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001883/1.261, allocations: 66.89 kB / 1.12 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/1.262, allocations: 1.76 MB / 1.122 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/1.262, allocations: 386.1 kB / 1.123 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.262, allocations: 36.12 kB / 1.123 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.263, allocations: 381.8 kB / 1.123 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/1.265, allocations: 1.195 MB / 1.124 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/1.267, allocations: 1.898 MB / 1.126 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/1.272, allocations: 3.004 MB / 1.129 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.272, allocations: 6.656 kB / 1.129 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00734/1.28, allocations: 3.814 MB / 1.133 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005276/1.28, allocations: 0.6271 MB / 1.133 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/1.28, allocations: 15.59 kB / 1.133 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/1.282, allocations: 0.733 MB / 1.134 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.284, allocations: 432.6 kB / 1.134 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/1.286, allocations: 2.75 MB / 1.137 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/1.29, allocations: 210.7 kB / 1.137 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003624/1.29, allocations: 153.5 kB / 1.137 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/1.29, allocations: 4.531 kB / 1.137 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00644/1.297, allocations: 3.131 MB / 1.14 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.653e-05/1.297, allocations: 22.16 kB / 1.14 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/1.299, allocations: 0.8453 MB / 1.141 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.301, allocations: 401.8 kB / 1.142 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/1.319, allocations: 12.42 MB / 1.154 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005313/1.324, allocations: 198.9 kB / 1.154 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008294/1.325, allocations: 136.2 kB / 1.154 GB, free: 8.695 MB / 0.7292 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 (203): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.003369/1.328, allocations: 0.8612 MB / 1.155 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/1.33, allocations: 365.1 kB / 1.155 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007837/1.338, allocations: 2.711 MB / 1.158 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.691e-05/1.338, allocations: 16 kB / 1.158 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.338, allocations: 0 / 1.158 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/1.338, allocations: 11.91 kB / 1.158 GB, free: 6.531 MB / 0.7292 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.01451/1.352, allocations: 4.896 MB / 1.163 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.352, allocations: 0 / 1.163 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.354, allocations: 247.7 kB / 1.163 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/1.355, allocations: 392.9 kB / 1.163 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/1.355, allocations: 44.7 kB / 1.163 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/1.357, allocations: 2.634 MB / 1.166 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.357, allocations: 0 / 1.166 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006166/1.363, allocations: 2.453 MB / 1.168 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/1.366, allocations: 0.5951 MB / 1.169 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.367, allocations: 22.44 kB / 1.169 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/1.37, allocations: 197.5 kB / 1.169 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.37, allocations: 93.44 kB / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.37, allocations: 70 kB / 1.169 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005744/1.376, allocations: 2.255 MB / 1.172 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.01e-07/1.376, allocations: 0 / 1.172 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01022/1.386, allocations: 1.762 MB / 1.173 GB, free: 9.652 MB / 0.7448 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 (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,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008595/1.395, allocations: 3.362 MB / 1.177 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.405, allocations: 4.434 MB / 1.181 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.405, allocations: 4 kB / 1.181 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002483/1.408, allocations: 0.9041 MB / 1.182 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/1.42, allocations: 1.714 MB / 1.183 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09364/1.513, allocations: 34.58 MB / 1.217 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/1.516, allocations: 2.23 MB / 1.219 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005551/1.522, allocations: 0.8681 MB / 1.22 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002993/1.525, allocations: 1.611 MB / 1.222 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of SimCode: time 9.41e-07/1.525, allocations: 0 / 1.222 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1786/1.704, allocations: 104.1 MB / 1.323 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/1.704, allocations: 301.8 kB / 1.324 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/8.345, allocations: 0 / 1.324 GB, free: 14.52 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)