Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.637/1.637, allocations: 205.1 MB / 222.4 MB, free: 4.551 MB / 174.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.779/1.779, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001472/0.001472, allocations: 76.19 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2758, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09971/0.3755, allocations: 105.5 MB / 0.8865 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.5587/0.9343, allocations: 36.5 MB / 0.9221 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008511/0.9429, allocations: 166.2 kB / 0.9223 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009054/0.952, allocations: 2.006 MB / 0.9242 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01726/0.9694, allocations: 4.986 MB / 0.9291 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.9797, allocations: 3.862 MB / 0.9329 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01785/0.9976, allocations: 9.442 MB / 0.9421 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008484/1.006, allocations: 3.506 MB / 0.9455 GB, free: 22.46 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01362/1.02, allocations: 3.965 MB / 0.9494 GB, free: 22.12 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/1.03, allocations: 3.034 MB / 0.9524 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002833/1.033, allocations: 410.7 kB / 0.9527 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009653/1.043, allocations: 2.625 MB / 0.9553 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003343/1.046, allocations: 1.316 MB / 0.9566 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.007169/1.053, allocations: 2.344 MB / 0.9589 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/1.068, allocations: 7.32 MB / 0.966 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.068, allocations: 0 / 0.966 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.066e-06/1.068, allocations: 7.984 kB / 0.966 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002339/1.068, allocations: 0 / 0.966 GB, free: 17.54 MB / 0.7325 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.01347/1.082, allocations: 5.04 MB / 0.971 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.082, allocations: 10.81 kB / 0.971 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004347/1.082, allocations: 291.2 kB / 0.9712 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00713/1.089, allocations: 1.169 MB / 0.9724 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/1.1, allocations: 4.125 MB / 0.9764 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/1.101, allocations: 182.4 kB / 0.9766 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008061/1.101, allocations: 233.3 kB / 0.9768 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005638/1.107, allocations: 2.728 MB / 0.9795 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/1.107, allocations: 0 / 0.9795 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/1.107, allocations: 92.05 kB / 0.9796 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/1.107, allocations: 50.72 kB / 0.9796 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005/1.112, allocations: 1.96 MB / 0.9815 GB, free: 7.562 MB / 0.7325 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.02238/1.135, allocations: 12.73 MB / 0.994 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/1.139, allocations: 1.526 MB / 0.9954 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/1.141, allocations: 0.7047 MB / 0.9961 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008687/1.149, allocations: 3.991 MB / 1 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/1.149, allocations: 42.66 kB / 1 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=107): time 4.127e-06/1.149, allocations: 0 / 1 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.00968/1.159, allocations: 3.017 MB / 1.003 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/1.159, allocations: 60.75 kB / 1.003 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00538/1.165, allocations: 3.438 MB / 1.006 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005697/1.165, allocations: 64.59 kB / 1.006 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.167, allocations: 1.758 MB / 1.008 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/1.167, allocations: 383.9 kB / 1.009 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007262/1.168, allocations: 474 kB / 1.009 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/1.168, allocations: 305.1 kB / 1.009 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.171, allocations: 1.184 MB / 1.01 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/1.174, allocations: 1.885 MB / 1.012 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00548/1.179, allocations: 2.951 MB / 1.015 GB, free: 10 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/1.179, allocations: 8 kB / 1.015 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007964/1.187, allocations: 3.756 MB / 1.019 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/1.187, allocations: 12 kB / 1.019 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.187, allocations: 20 kB / 1.019 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/1.189, allocations: 0.7222 MB / 1.02 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/1.191, allocations: 427.3 kB / 1.02 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/1.194, allocations: 2.76 MB / 1.023 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/1.198, allocations: 261 kB / 1.023 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005875/1.198, allocations: 151.9 kB / 1.023 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003884/1.202, allocations: 1.663 MB / 1.025 GB, free: 96 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002531/1.205, allocations: 1.689 MB / 1.026 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004177/1.209, allocations: 2.585 MB / 1.029 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.979e-06/1.209, allocations: 4 kB / 1.029 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.008342/1.217, allocations: 3.451 MB / 1.032 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.218, allocations: 12 kB / 1.032 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/1.218, allocations: 16 kB / 1.032 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002772/1.22, allocations: 0.8743 MB / 1.033 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.222, allocations: 391.4 kB / 1.034 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.24, allocations: 13.82 MB / 1.047 GB, free: 8.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.244, allocations: 197.5 kB / 1.047 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005031/1.244, allocations: 132 kB / 1.047 GB, free: 7.707 MB / 0.795 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.0007404/1.245, allocations: 286.3 kB / 1.048 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/1.246, allocations: 371.3 kB / 1.048 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006893/1.253, allocations: 2.633 MB / 1.051 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/1.253, allocations: 16 kB / 1.051 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.253, allocations: 3.984 kB / 1.051 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/1.253, allocations: 7.922 kB / 1.051 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/1.265, allocations: 4.821 MB / 1.055 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.265, allocations: 4.125 kB / 1.055 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.267, allocations: 239.6 kB / 1.056 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000983/1.268, allocations: 396.3 kB / 1.056 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.268, allocations: 43.95 kB / 1.056 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.27, allocations: 2.627 MB / 1.058 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.27, allocations: 4.062 kB / 1.059 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006058/1.276, allocations: 2.413 MB / 1.061 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00201/1.278, allocations: 0.5975 MB / 1.061 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006234/1.279, allocations: 20 kB / 1.061 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.28, allocations: 99.77 kB / 1.062 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.281, allocations: 97.12 kB / 1.062 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.281, allocations: 67.94 kB / 1.062 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003864/1.285, allocations: 2.297 MB / 1.064 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.22e-07/1.285, allocations: 0 / 1.064 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.009875/1.295, allocations: 1.78 MB / 1.066 GB, free: 4.645 MB / 0.8106 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 (113): * Single equations (assignments): 99 * 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.007851/1.302, allocations: 3.392 MB / 1.069 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.314, allocations: 4.533 MB / 1.073 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.314, allocations: 0 / 1.073 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/1.316, allocations: 0.89 MB / 1.074 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007743/1.324, allocations: 1.764 MB / 1.076 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05932/1.383, allocations: 33.47 MB / 1.109 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/1.386, allocations: 2.23 MB / 1.111 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.005105/1.391, allocations: 0.8616 MB / 1.112 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002516/1.393, allocations: 1.612 MB / 1.113 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of SimCode: time 1.693e-06/1.393, allocations: 0 / 1.113 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.196/1.589, allocations: 109.3 MB / 1.22 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16.69, allocations: 7.594 kB / 1.22 GB, free: 5.375 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)