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.0008191/0.0008236, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001014/0.001014, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.363 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.751/1.751, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0006099/0.0006103, allocations: 14.81 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2775, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1035/0.3811, allocations: 97.18 MB / 0.8823 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.644/1.025, allocations: 34.4 MB / 0.9159 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009038/1.034, allocations: 145.8 kB / 0.916 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006422/1.041, allocations: 1.332 MB / 0.9173 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01765/1.058, allocations: 3.986 MB / 0.9212 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01244/1.071, allocations: 2.904 MB / 0.9241 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01885/1.09, allocations: 10.74 MB / 0.9345 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01048/1.1, allocations: 2.639 MB / 0.9371 GB, free: 27.55 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01144/1.112, allocations: 3.207 MB / 0.9402 GB, free: 27.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007971/1.12, allocations: 2.798 MB / 0.943 GB, free: 26.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00204/1.122, allocations: 168.7 kB / 0.9431 GB, free: 26.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009128/1.131, allocations: 1.82 MB / 0.9449 GB, free: 26.53 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/1.134, allocations: 1.04 MB / 0.9459 GB, free: 26.36 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00333/1.137, allocations: 0.8529 MB / 0.9468 GB, free: 26.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009709/1.147, allocations: 5.582 MB / 0.9522 GB, free: 25.76 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.147, allocations: 4 kB / 0.9522 GB, free: 25.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.355e-06/1.147, allocations: 0 / 0.9522 GB, free: 25.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000289/1.147, allocations: 0 / 0.9522 GB, free: 25.75 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.01233/1.16, allocations: 4.355 MB / 0.9565 GB, free: 23.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.16, allocations: 9 kB / 0.9565 GB, free: 23.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001104/1.161, allocations: 296 kB / 0.9568 GB, free: 23.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/1.167, allocations: 1.267 MB / 0.958 GB, free: 22.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/1.178, allocations: 4.116 MB / 0.962 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/1.178, allocations: 183.6 kB / 0.9622 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008799/1.179, allocations: 239.2 kB / 0.9624 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006773/1.186, allocations: 2.727 MB / 0.9651 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-05/1.186, allocations: 7.312 kB / 0.9651 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/1.187, allocations: 83.84 kB / 0.9652 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/1.187, allocations: 51.5 kB / 0.9652 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004369/1.191, allocations: 1.989 MB / 0.9672 GB, free: 19.77 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.01672/1.208, allocations: 12.42 MB / 0.9793 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/1.211, allocations: 1.597 MB / 0.9809 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/1.212, allocations: 0.7467 MB / 0.9816 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007361/1.22, allocations: 4.069 MB / 0.9856 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/1.22, allocations: 44.81 kB / 0.9856 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001769/1.221, allocations: 203.7 kB / 0.9858 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=111): time 9.417e-06/1.221, allocations: 0 / 0.9858 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=111): time 0.008567/1.23, allocations: 3.128 MB / 0.9889 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.23, allocations: 64.03 kB / 0.9889 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00648/1.237, allocations: 3.354 MB / 0.9922 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005125/1.237, allocations: 58.98 kB / 0.9922 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002563/1.24, allocations: 1.762 MB / 0.994 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009428/1.241, allocations: 385.3 kB / 0.9943 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/1.241, allocations: 36.16 kB / 0.9944 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002855/1.241, allocations: 383.1 kB / 0.9947 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/1.244, allocations: 0.8604 MB / 0.9956 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/1.247, allocations: 1.564 MB / 0.9971 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/1.25, allocations: 1.018 MB / 0.9981 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/1.25, allocations: 5.719 kB / 0.9981 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007497/1.257, allocations: 2.926 MB / 1.001 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004932/1.258, allocations: 0.634 MB / 1.002 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/1.258, allocations: 20.69 kB / 1.002 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/1.259, allocations: 398.5 kB / 1.002 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.261, allocations: 428.7 kB / 1.002 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/1.264, allocations: 2.755 MB / 1.005 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/1.267, allocations: 213.8 kB / 1.005 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004382/1.267, allocations: 155.5 kB / 1.005 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.267, allocations: 7.953 kB / 1.005 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006729/1.274, allocations: 3.148 MB / 1.009 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.524e-05/1.274, allocations: 20 kB / 1.009 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/1.277, allocations: 0.8604 MB / 1.009 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/1.278, allocations: 401.8 kB / 1.01 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/1.295, allocations: 12.38 MB / 1.022 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00334/1.299, allocations: 202.3 kB / 1.022 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005517/1.299, allocations: 134.7 kB / 1.022 GB, free: 1.086 MB / 0.7481 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.002676/1.302, allocations: 0.8634 MB / 1.023 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.303, allocations: 355.4 kB / 1.023 GB, free: 188 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006859/1.31, allocations: 2.699 MB / 1.026 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/1.31, allocations: 23.98 kB / 1.026 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.31, allocations: 4 kB / 1.026 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.31, allocations: 11.92 kB / 1.026 GB, free: 13.99 MB / 0.7637 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.01239/1.322, allocations: 4.896 MB / 1.031 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.322, allocations: 11.98 kB / 1.031 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.324, allocations: 235.7 kB / 1.031 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/1.325, allocations: 390.9 kB / 1.031 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.325, allocations: 47.95 kB / 1.031 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/1.327, allocations: 2.63 MB / 1.034 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.327, allocations: 4.25 kB / 1.034 GB, free: 5.625 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005706/1.333, allocations: 2.442 MB / 1.036 GB, free: 3.137 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/1.335, allocations: 0.5898 MB / 1.037 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.336, allocations: 20 kB / 1.037 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/1.339, allocations: 203.6 kB / 1.037 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.339, allocations: 93.14 kB / 1.037 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.339, allocations: 71.94 kB / 1.037 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.005219/1.344, allocations: 2.217 MB / 1.04 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.763e-06/1.344, allocations: 0 / 1.04 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009275/1.354, allocations: 1.815 MB / 1.041 GB, free: 14.11 MB / 0.7794 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.007261/1.361, allocations: 3.355 MB / 1.045 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00893/1.37, allocations: 4.116 MB / 1.049 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.37, allocations: 4.125 kB / 1.049 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002178/1.372, allocations: 0.9112 MB / 1.049 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008639/1.381, allocations: 1.714 MB / 1.051 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06637/1.447, allocations: 25.9 MB / 1.076 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/1.45, allocations: 2.245 MB / 1.079 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004959/1.455, allocations: 0.8694 MB / 1.079 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00259/1.458, allocations: 1.62 MB / 1.081 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of SimCode: time 9.72e-07/1.458, allocations: 0 / 1.081 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1875/1.645, allocations: 110.5 MB / 1.189 GB, free: 6.078 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/1.646, allocations: 262.8 kB / 1.189 GB, free: 5.719 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.952/6.597, allocations: 0 / 1.189 GB, free: 5.719 MB / 0.92 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: