Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 107.2 kB / 16.41 MB, free: 6.395 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.001314/0.001314, allocations: 189.2 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002614/0.002614, allocations: 281 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9874/0.9874, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4132, allocations: 86.97 MB / 0.767 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1148/0.528, allocations: 104.3 MB / 0.8689 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05369/0.5817, allocations: 34.98 MB / 0.9031 GB, free: 8.355 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005292/0.587, allocations: 155.2 kB / 0.9032 GB, free: 8.203 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008062/0.595, allocations: 2.943 MB / 0.9061 GB, free: 5.25 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.6093, allocations: 5.689 MB / 0.9116 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009574/0.6189, allocations: 4.053 MB / 0.9156 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.05745/0.6764, allocations: 31.68 MB / 0.9465 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00763/0.684, allocations: 3.071 MB / 0.9495 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/0.6967, allocations: 4.364 MB / 0.9538 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007937/0.7046, allocations: 3.378 MB / 0.9571 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001762/0.7064, allocations: 460 kB / 0.9575 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4244/1.131, allocations: 2.922 MB / 0.9604 GB, free: 38.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002621/1.133, allocations: 1.915 MB / 0.9623 GB, free: 38.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006562/1.14, allocations: 2.997 MB / 0.9652 GB, free: 38.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/1.155, allocations: 8.823 MB / 0.9738 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.155, allocations: 0 / 0.9738 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/1.155, allocations: 0 / 0.9738 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002072/1.155, allocations: 1.438 kB / 0.9738 GB, free: 37.16 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: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01325/1.169, allocations: 6.477 MB / 0.9801 GB, free: 33.95 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.169, allocations: 12.66 kB / 0.9801 GB, free: 33.95 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/1.18, allocations: 1.929 MB / 0.982 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01706/1.197, allocations: 7.314 MB / 0.9892 GB, free: 32.51 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/1.198, allocations: 187.8 kB / 0.9893 GB, free: 32.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007882/1.198, allocations: 245.1 kB / 0.9896 GB, free: 32.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005623/1.204, allocations: 3.22 MB / 0.9927 GB, free: 32.13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/1.204, allocations: 3.281 kB / 0.9927 GB, free: 32.13 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/1.204, allocations: 86.16 kB / 0.9928 GB, free: 32.13 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/1.204, allocations: 60.12 kB / 0.9929 GB, free: 32.12 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006091/1.21, allocations: 2.595 MB / 0.9954 GB, free: 32.07 MB / 0.7169 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.01939/1.23, allocations: 14.88 MB / 1.01 GB, free: 25.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005116/1.235, allocations: 2.192 MB / 1.012 GB, free: 25.37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/1.237, allocations: 0.9297 MB / 1.013 GB, free: 25.35 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008083/1.245, allocations: 4.997 MB / 1.018 GB, free: 23.58 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.245, allocations: 50.44 kB / 1.018 GB, free: 23.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=112): time 2.796e-06/1.245, allocations: 0 / 1.018 GB, free: 23.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.01167/1.257, allocations: 3.978 MB / 1.022 GB, free: 22.74 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/1.257, allocations: 62.41 kB / 1.022 GB, free: 22.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/1.265, allocations: 5.483 MB / 1.027 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006309/1.266, allocations: 58.86 kB / 1.027 GB, free: 21.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/1.267, allocations: 2.253 MB / 1.029 GB, free: 20.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/1.268, allocations: 431.2 kB / 1.03 GB, free: 20.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/1.269, allocations: 0.8834 MB / 1.031 GB, free: 20.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.683e-05/1.269, allocations: 301.1 kB / 1.031 GB, free: 19.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/1.273, allocations: 2.623 MB / 1.034 GB, free: 19.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/1.278, allocations: 3.472 MB / 1.037 GB, free: 18.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007982/1.286, allocations: 5.579 MB / 1.042 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/1.286, allocations: 4 kB / 1.042 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01188/1.298, allocations: 7.074 MB / 1.049 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/1.298, allocations: 14.34 kB / 1.049 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/1.298, allocations: 20 kB / 1.049 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/1.299, allocations: 0.715 MB / 1.05 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/1.302, allocations: 0.664 MB / 1.051 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/1.304, allocations: 2.726 MB / 1.053 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/1.309, allocations: 467.6 kB / 1.054 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000594/1.309, allocations: 215.9 kB / 1.054 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005673/1.315, allocations: 3.237 MB / 1.057 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005147/1.32, allocations: 3.036 MB / 1.06 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008875/1.329, allocations: 4.719 MB / 1.065 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.669e-05/1.329, allocations: 4 kB / 1.065 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01401/1.343, allocations: 6.256 MB / 1.071 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/1.343, allocations: 12 kB / 1.071 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/1.343, allocations: 16.88 kB / 1.071 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/1.346, allocations: 0.807 MB / 1.072 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/1.349, allocations: 0.6336 MB / 1.072 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/1.369, allocations: 13.65 MB / 1.086 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/1.374, allocations: 376.5 kB / 1.086 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006127/1.374, allocations: 179.8 kB / 1.086 GB, free: 496 kB / 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0008607/1.375, allocations: 322.3 kB / 1.086 GB, free: 204 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.376, allocations: 0.4965 MB / 1.087 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009381/1.386, allocations: 3.313 MB / 1.09 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.386, allocations: 15.98 kB / 1.09 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.386, allocations: 0 / 1.09 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.386, allocations: 7.969 kB / 1.09 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/1.401, allocations: 6.172 MB / 1.096 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.401, allocations: 0 / 1.096 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.403, allocations: 305.9 kB / 1.097 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/1.404, allocations: 377.6 kB / 1.097 GB, free: 5.5 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/1.404, allocations: 55.94 kB / 1.097 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/1.406, allocations: 2.622 MB / 1.1 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.406, allocations: 64 / 1.1 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008466/1.415, allocations: 3.083 MB / 1.103 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/1.417, allocations: 0.8095 MB / 1.103 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008093/1.418, allocations: 23.98 kB / 1.103 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/1.421, allocations: 155.7 kB / 1.103 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.421, allocations: 97.19 kB / 1.104 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.421, allocations: 87.92 kB / 1.104 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007463/1.428, allocations: 3.624 MB / 1.107 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.4e-07/1.428, allocations: 0 / 1.107 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008988/1.437, allocations: 2.332 MB / 1.109 GB, free: 8.477 MB / 0.7794 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 (117): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002612/1.44, allocations: 0.9196 MB / 1.11 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01737/1.457, allocations: 7.344 MB / 1.118 GB, free: 380 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.457, allocations: 4.312 kB / 1.118 GB, free: 376 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003387/1.461, allocations: 1.104 MB / 1.119 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/1.472, allocations: 2.424 MB / 1.121 GB, free: 12.94 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/1.489, allocations: 8.494 MB / 1.129 GB, free: 4.422 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003945/1.493, allocations: 2.879 MB / 1.132 GB, free: 1.512 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006214/1.499, allocations: 1.329 MB / 1.133 GB, free: 192 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.5, allocations: 371.3 kB / 1.134 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of SimCode: time 1.393e-06/1.5, allocations: 0 / 1.134 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of Templates: time 0.1876/1.688, allocations: 105.7 MB / 1.237 GB, free: 7.906 MB / 0.9044 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)