Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.826/2.826, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001559/0.001559, allocations: 198.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.253/2.253, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001145/0.001145, allocations: 96.17 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006426/0.0006427, allocations: 16.75 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2528, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1448/0.3977, allocations: 88.43 MB / 1.065 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.7504/1.148, allocations: 32.12 MB / 1.096 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008016/1.156, allocations: 136.2 kB / 1.096 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.009892/1.166, allocations: 1.959 MB / 1.098 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02699/1.193, allocations: 5.037 MB / 1.103 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02973/1.223, allocations: 5.761 MB / 1.109 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01857/1.242, allocations: 5.783 MB / 1.114 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009233/1.251, allocations: 2.668 MB / 1.117 GB, free: 26.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/1.262, allocations: 2.952 MB / 1.12 GB, free: 26.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006925/1.269, allocations: 1.993 MB / 1.122 GB, free: 25.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001904/1.271, allocations: 162.7 kB / 1.122 GB, free: 25.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009836/1.281, allocations: 1.744 MB / 1.124 GB, free: 25.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002873/1.284, allocations: 0.9602 MB / 1.124 GB, free: 25.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00326/1.287, allocations: 0.8514 MB / 1.125 GB, free: 25.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/1.301, allocations: 5.441 MB / 1.131 GB, free: 23.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.301, allocations: 3.938 kB / 1.131 GB, free: 23.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.389e-06/1.301, allocations: 4 kB / 1.131 GB, free: 23.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003255/1.301, allocations: 0 / 1.131 GB, free: 23.42 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.01837/1.32, allocations: 4.323 MB / 1.135 GB, free: 20.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/1.32, allocations: 9.375 kB / 1.135 GB, free: 20.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001455/1.321, allocations: 287.8 kB / 1.135 GB, free: 20.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/1.334, allocations: 1.277 MB / 1.136 GB, free: 20.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/1.354, allocations: 4.135 MB / 1.14 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/1.355, allocations: 183.8 kB / 1.141 GB, free: 17.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/1.356, allocations: 235.3 kB / 1.141 GB, free: 17.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/1.372, allocations: 2.68 MB / 1.143 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/1.372, allocations: 5.094 kB / 1.143 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/1.374, allocations: 85.31 kB / 1.144 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/1.374, allocations: 51.38 kB / 1.144 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/1.391, allocations: 1.94 MB / 1.145 GB, free: 14.72 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.04476/1.435, allocations: 12.32 MB / 1.157 GB, free: 4.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007347/1.443, allocations: 1.516 MB / 1.159 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/1.457, allocations: 4.073 MB / 1.163 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/1.457, allocations: 45.91 kB / 1.163 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002727/1.46, allocations: 210.8 kB / 1.163 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 9.829e-06/1.46, allocations: 0 / 1.163 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.02001/1.48, allocations: 3.045 MB / 1.166 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/1.48, allocations: 69.58 kB / 1.166 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009149/1.489, allocations: 3.379 MB / 1.17 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007702/1.49, allocations: 59.08 kB / 1.17 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002921/1.493, allocations: 1.767 MB / 1.171 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.494, allocations: 387.9 kB / 1.172 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/1.494, allocations: 33.72 kB / 1.172 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002745/1.494, allocations: 390.8 kB / 1.172 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/1.498, allocations: 0.8308 MB / 1.173 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004897/1.503, allocations: 1.534 MB / 1.174 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/1.508, allocations: 0.9917 MB / 1.175 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/1.508, allocations: 7.469 kB / 1.175 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01303/1.521, allocations: 2.88 MB / 1.178 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003883/1.525, allocations: 8.125 MB / 1.186 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.637e-05/1.525, allocations: 20 kB / 1.186 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/1.528, allocations: 398 kB / 1.187 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/1.532, allocations: 443.3 kB / 1.187 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/1.536, allocations: 2.752 MB / 1.19 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/1.541, allocations: 211.7 kB / 1.19 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009471/1.543, allocations: 159.9 kB / 1.19 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.543, allocations: 4 kB / 1.19 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01321/1.556, allocations: 3.102 MB / 1.193 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.648e-05/1.556, allocations: 16 kB / 1.193 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00505/1.561, allocations: 0.8505 MB / 1.194 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/1.564, allocations: 415.3 kB / 1.194 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03118/1.596, allocations: 12.9 MB / 1.207 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/1.601, allocations: 198.5 kB / 1.207 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008725/1.602, allocations: 135.9 kB / 1.207 GB, free: 6.418 MB / 0.7448 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.003601/1.605, allocations: 0.8659 MB / 1.208 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.607, allocations: 359.3 kB / 1.208 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.62, allocations: 2.681 MB / 1.211 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/1.62, allocations: 19.98 kB / 1.211 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.62, allocations: 4 kB / 1.211 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/1.62, allocations: 3.984 kB / 1.211 GB, free: 2.457 MB / 0.7448 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.02091/1.641, allocations: 5.061 MB / 1.216 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.641, allocations: 4.125 kB / 1.216 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/1.644, allocations: 251.6 kB / 1.216 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/1.646, allocations: 390.9 kB / 1.217 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003292/1.646, allocations: 51.94 kB / 1.217 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/1.649, allocations: 2.623 MB / 1.219 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.649, allocations: 256 / 1.219 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.66, allocations: 2.504 MB / 1.222 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/1.663, allocations: 0.6093 MB / 1.222 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/1.664, allocations: 27.95 kB / 1.222 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004345/1.669, allocations: 203.5 kB / 1.222 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/1.669, allocations: 89.17 kB / 1.223 GB, free: 6.336 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003128/1.669, allocations: 71.94 kB / 1.223 GB, free: 6.266 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.006076/1.675, allocations: 2.25 MB / 1.225 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.91e-07/1.675, allocations: 4 kB / 1.225 GB, free: 4.008 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01219/1.688, allocations: 1.847 MB / 1.227 GB, free: 2.16 MB / 0.7605 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.0125/1.7, allocations: 3.694 MB / 1.23 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01526/1.715, allocations: 4.047 MB / 1.234 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.716, allocations: 0 / 1.234 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004361/1.72, allocations: 0.8818 MB / 1.235 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01414/1.734, allocations: 1.697 MB / 1.237 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03184/1.766, allocations: 20.98 MB / 1.257 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/1.769, allocations: 2.312 MB / 1.259 GB, free: 4 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.007215/1.777, allocations: 0.8962 MB / 1.26 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004132/1.781, allocations: 1.628 MB / 1.262 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of SimCode: time 1.363e-06/1.781, allocations: 4 kB / 1.262 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3041/2.085, allocations: 109.3 MB / 1.369 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004549/2.086, allocations: 261.3 kB / 1.369 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/9.909, allocations: 1.641 kB / 1.369 GB, free: 0.7617 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)