Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",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.001008/0.001008, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009879/0.000988, allocations: 177.3 kB / 15.95 MB, free: 216 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.32/1.32, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.61/1.61, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005333/0.0005335, allocations: 15.38 kB / 0.6737 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2413, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.07938/0.3207, allocations: 86.49 MB / 0.8717 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04742/0.3682, allocations: 31.7 MB / 0.9027 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006597/0.3749, allocations: 134.9 kB / 0.9028 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008334/0.3832, allocations: 1.909 MB / 0.9046 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.511/0.8942, allocations: 4.94 MB / 0.9095 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.9103, allocations: 5.607 MB / 0.9149 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01522/0.9255, allocations: 5.652 MB / 0.9205 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005881/0.9315, allocations: 2.649 MB / 0.9231 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008722/0.9402, allocations: 2.881 MB / 0.9259 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005626/0.9459, allocations: 1.923 MB / 0.9277 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.9473, allocations: 151.8 kB / 0.9279 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006887/0.9542, allocations: 1.695 MB / 0.9295 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002196/0.9564, allocations: 0.8959 MB / 0.9304 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002759/0.9592, allocations: 0.8195 MB / 0.9312 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007946/0.9671, allocations: 4.962 MB / 0.9361 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.9672, allocations: 0 / 0.9361 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9672, allocations: 0 / 0.9361 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001704/0.9673, allocations: 1.156 kB / 0.9361 GB, free: 12.41 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0104/0.9778, allocations: 4.075 MB / 0.94 GB, free: 26.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.9778, allocations: 9.75 kB / 0.9401 GB, free: 26.39 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008745/0.9787, allocations: 288.6 kB / 0.9403 GB, free: 26.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/0.9856, allocations: 1.25 MB / 0.9415 GB, free: 26.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.9959, allocations: 3.781 MB / 0.9452 GB, free: 25.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.9962, allocations: 184.6 kB / 0.9454 GB, free: 25.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000905/0.9971, allocations: 226.4 kB / 0.9456 GB, free: 25.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/1.002, allocations: 2.556 MB / 0.9481 GB, free: 25.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/1.002, allocations: 4.25 kB / 0.9481 GB, free: 25.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/1.003, allocations: 84.36 kB / 0.9482 GB, free: 25.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/1.003, allocations: 50.62 kB / 0.9483 GB, free: 25.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004492/1.007, allocations: 1.894 MB / 0.9501 GB, free: 25.03 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.01882/1.026, allocations: 12.03 MB / 0.9619 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/1.029, allocations: 1.424 MB / 0.9633 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007559/1.037, allocations: 3.71 MB / 0.9669 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/1.037, allocations: 47.06 kB / 0.9669 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001785/1.039, allocations: 198.3 kB / 0.9671 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=108): time 5.881e-06/1.039, allocations: 3 kB / 0.9671 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108): time 0.008076/1.047, allocations: 2.83 MB / 0.9699 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.047, allocations: 64.19 kB / 0.9699 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/1.052, allocations: 3.176 MB / 0.973 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005722/1.052, allocations: 58.33 kB / 0.9731 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.053, allocations: 1.696 MB / 0.9748 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/1.054, allocations: 374 kB / 0.9751 GB, free: 13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.054, allocations: 36.86 kB / 0.9751 GB, free: 13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.054, allocations: 372.9 kB / 0.9755 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/1.056, allocations: 0.7398 MB / 0.9762 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/1.058, allocations: 1.388 MB / 0.9776 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/1.06, allocations: 0.876 MB / 0.9784 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.06, allocations: 5.5 kB / 0.9784 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005519/1.065, allocations: 2.631 MB / 0.981 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.002441/1.068, allocations: 7.649 MB / 0.9885 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-05/1.068, allocations: 16.28 kB / 0.9885 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/1.069, allocations: 346.3 kB / 0.9888 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.071, allocations: 428.2 kB / 0.9892 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/1.073, allocations: 2.591 MB / 0.9918 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/1.077, allocations: 205.5 kB / 0.992 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005214/1.077, allocations: 145.6 kB / 0.9921 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.077, allocations: 3.281 kB / 0.9921 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005332/1.083, allocations: 2.624 MB / 0.9947 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/1.083, allocations: 18.78 kB / 0.9947 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.085, allocations: 0.6476 MB / 0.9953 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.086, allocations: 400 kB / 0.9957 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/1.1, allocations: 11.05 MB / 1.006 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/1.103, allocations: 189.4 kB / 1.007 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004775/1.104, allocations: 121.7 kB / 1.007 GB, free: 8.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (200): * Single equations (assignments): 192 * 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.00207/1.106, allocations: 0.8112 MB / 1.008 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008225/1.106, allocations: 344.6 kB / 1.008 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005727/1.112, allocations: 2.498 MB / 1.01 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/1.112, allocations: 19.75 kB / 1.01 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.112, allocations: 4 kB / 1.01 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/1.112, allocations: 7.969 kB / 1.01 GB, free: 7.312 MB / 0.7481 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.009968/1.122, allocations: 4.767 MB / 1.015 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.122, allocations: 3.094 kB / 1.015 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/1.123, allocations: 247 kB / 1.015 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/1.124, allocations: 334.2 kB / 1.016 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.885e-05/1.124, allocations: 47.08 kB / 1.016 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.126, allocations: 2.502 MB / 1.018 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.126, allocations: 4.031 kB / 1.018 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/1.132, allocations: 2.265 MB / 1.02 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.133, allocations: 0.5897 MB / 1.021 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/1.134, allocations: 21.06 kB / 1.021 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.135, allocations: 193.2 kB / 1.021 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.136, allocations: 89.5 kB / 1.021 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.136, allocations: 77.08 kB / 1.021 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003042/1.139, allocations: 2.114 MB / 1.023 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.81e-07/1.139, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006131/1.145, allocations: 1.761 MB / 1.025 GB, free: 11.07 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00581/1.151, allocations: 3.369 MB / 1.028 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007836/1.159, allocations: 3.662 MB / 1.032 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/1.159, allocations: 0 / 1.032 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.161, allocations: 0.8303 MB / 1.033 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006862/1.168, allocations: 1.537 MB / 1.034 GB, free: 3.582 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/1.188, allocations: 19.96 MB / 1.054 GB, free: 64 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/1.19, allocations: 2.224 MB / 1.056 GB, free: 13.93 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004456/1.194, allocations: 0.8341 MB / 1.057 GB, free: 13.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/1.196, allocations: 1.541 MB / 1.058 GB, free: 12.73 MB / 0.795 GB Notification: Performance of SimCode: time 1.102e-06/1.196, allocations: 0 / 1.058 GB, free: 12.73 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9667/2.163, allocations: 101 MB / 1.157 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/2.164, allocations: 259.8 kB / 1.157 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.754/6.918, allocations: 0 / 1.157 GB, free: 9.02 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) Environment - environmentSimulation: