Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",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.00109/0.00109, allocations: 90.98 kB / 15.06 MB, free: 1.094 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.001619/0.001619, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.55/2.55, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.000319, allocations: 11.94 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7198, allocations: 142.3 MB / 0.9538 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.06946/0.7892, allocations: 71.74 MB / 1.024 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03284/0.8221, allocations: 24.26 MB / 1.048 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004504/0.8267, allocations: 99.38 kB / 1.048 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004438/0.8311, allocations: 1.095 MB / 1.049 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009063/0.8402, allocations: 2.887 MB / 1.052 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00723/0.8475, allocations: 2.227 MB / 1.054 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01291/0.8604, allocations: 8.042 MB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005418/0.8659, allocations: 1.979 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006787/0.8727, allocations: 2.404 MB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004405/0.8771, allocations: 2.132 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.8783, allocations: 132 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00497/0.8833, allocations: 1.541 MB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.8851, allocations: 1.098 MB / 1.071 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.8871, allocations: 0.7575 MB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007116/0.8942, allocations: 4.672 MB / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.8943, allocations: 0 / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.128e-06/0.8943, allocations: 0 / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001954/0.8945, allocations: 0 / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.009409/0.9039, allocations: 4.163 MB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.904, allocations: 8.031 kB / 1.08 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007387/0.9047, allocations: 224 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006698/0.9114, allocations: 1.275 MB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.9237, allocations: 4.981 MB / 1.086 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009504/0.9247, allocations: 339.6 kB / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006751/0.9254, allocations: 184 kB / 1.087 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006567/0.932, allocations: 2.556 MB / 1.089 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.932, allocations: 3.938 kB / 1.089 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/0.9323, allocations: 68 kB / 1.089 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.9324, allocations: 43.94 kB / 1.089 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006171/0.9385, allocations: 2.256 MB / 1.092 GB, free: 2.414 MB / 0.8419 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.01822/0.9568, allocations: 11.23 MB / 1.103 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005205/0.962, allocations: 1.917 MB / 1.105 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/0.9644, allocations: 0.9362 MB / 1.105 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007191/0.9717, allocations: 3.977 MB / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.9717, allocations: 43.22 kB / 1.109 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001421/0.9732, allocations: 178.6 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 6.122e-06/0.9732, allocations: 0 / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.009149/0.9823, allocations: 3.127 MB / 1.113 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.9824, allocations: 64.06 kB / 1.113 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008935/0.9914, allocations: 5.196 MB / 1.118 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005274/0.9919, allocations: 49.7 kB / 1.118 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/0.9938, allocations: 1.6 MB / 1.119 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006022/0.9944, allocations: 287.9 kB / 1.12 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.9947, allocations: 28 kB / 1.12 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.9949, allocations: 369.9 kB / 1.12 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003042/0.998, allocations: 1.081 MB / 1.121 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/1.001, allocations: 1.818 MB / 1.123 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/1.005, allocations: 1.201 MB / 1.124 GB, free: 32 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/1.005, allocations: 8 kB / 1.124 GB, free: 24 kB / 0.8731 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008189/1.013, allocations: 3.185 MB / 1.127 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005848/1.013, allocations: 0.7167 MB / 1.128 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/1.013, allocations: 20 kB / 1.128 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/1.014, allocations: 160.7 kB / 1.128 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/1.016, allocations: 0.4993 MB / 1.128 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008221/1.017, allocations: 0.8214 MB / 1.129 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/1.02, allocations: 294.2 kB / 1.13 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/1.021, allocations: 132 kB / 1.13 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/1.021, allocations: 8 kB / 1.13 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006823/1.027, allocations: 3.156 MB / 1.133 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.418e-05/1.028, allocations: 24 kB / 1.133 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.029, allocations: 393.1 kB / 1.133 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.031, allocations: 475.2 kB / 1.134 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007286/1.038, allocations: 4.497 MB / 1.138 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/1.041, allocations: 256.3 kB / 1.138 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004603/1.042, allocations: 124.1 kB / 1.138 GB, free: 0.7539 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (180): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002178/1.044, allocations: 0.8946 MB / 1.139 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009777/1.045, allocations: 327.8 kB / 1.14 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00744/1.052, allocations: 2.643 MB / 1.142 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/1.052, allocations: 19.95 kB / 1.142 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.052, allocations: 0 / 1.142 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/1.052, allocations: 3.984 kB / 1.142 GB, free: 12.83 MB / 0.9044 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.01368/1.066, allocations: 5.033 MB / 1.147 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.066, allocations: 0 / 1.147 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.068, allocations: 319.7 kB / 1.147 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/1.068, allocations: 152.6 kB / 1.148 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.068, allocations: 31.97 kB / 1.148 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008167/1.069, allocations: 0.728 MB / 1.148 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.069, allocations: 4 kB / 1.148 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009382/1.079, allocations: 3.628 MB / 1.152 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/1.081, allocations: 0.6098 MB / 1.152 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.082, allocations: 23.94 kB / 1.152 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/1.085, allocations: 267.6 kB / 1.153 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.085, allocations: 60.97 kB / 1.153 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.085, allocations: 55.95 kB / 1.153 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.006551/1.092, allocations: 3.719 MB / 1.156 GB, free: 14.04 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.41e-07/1.092, allocations: 4 kB / 1.156 GB, free: 14.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.007727/1.099, allocations: 1.536 MB / 1.158 GB, free: 12.5 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * 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 (93): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01205/1.112, allocations: 4.688 MB / 1.163 GB, free: 7.777 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.122, allocations: 4.103 MB / 1.167 GB, free: 3.668 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.122, allocations: 8.062 kB / 1.167 GB, free: 3.66 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.125, allocations: 1.025 MB / 1.168 GB, free: 2.637 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008836/1.133, allocations: 1.659 MB / 1.169 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07247/1.206, allocations: 29.78 MB / 1.198 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/1.208, allocations: 2.11 MB / 1.2 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004903/1.213, allocations: 0.8442 MB / 1.201 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002693/1.216, allocations: 1.421 MB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of SimCode: time 9.61e-07/1.216, allocations: 0 / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6807/1.897, allocations: 103.7 MB / 1.304 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.897, allocations: 261.6 kB / 1.304 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.491/6.388, allocations: 4.062 kB / 1.304 GB, free: 232.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat does not exist to compare? outputFormat=mat