Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear",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: 101.5 kB / 16.27 MB, free: 5.855 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.001199/0.001199, allocations: 184 kB / 17.19 MB, free: 5.508 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.291/1.291, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7338/0.7338, allocations: 122.8 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3439, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.04678/0.3907, allocations: 58.54 MB / 0.6244 GB, free: 180 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02876/0.4195, allocations: 19.94 MB / 0.6439 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.4229, allocations: 87.5 kB / 0.644 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01598/0.4389, allocations: 9.814 MB / 0.6536 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00769/0.4467, allocations: 2.873 MB / 0.6564 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005554/0.4522, allocations: 2.306 MB / 0.6586 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01983/0.4721, allocations: 14.18 MB / 0.6725 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003586/0.4757, allocations: 1.756 MB / 0.6742 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005946/0.4816, allocations: 2.029 MB / 0.6762 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003033/0.4847, allocations: 1.501 MB / 0.6776 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000889/0.4856, allocations: 196 kB / 0.6778 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005554/0.4912, allocations: 2.32 MB / 0.6801 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.4925, allocations: 0.8723 MB / 0.681 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.4952, allocations: 1.426 MB / 0.6823 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007803/0.5031, allocations: 4.65 MB / 0.6869 GB, free: 88 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5031, allocations: 4 kB / 0.6869 GB, free: 84 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5031, allocations: 3.938 kB / 0.6869 GB, free: 80 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001138/0.5032, allocations: 4 kB / 0.6869 GB, free: 76 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00694/0.5102, allocations: 3.285 MB / 0.6901 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5102, allocations: 8.625 kB / 0.6901 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002623/0.5105, allocations: 156.6 kB / 0.6903 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/0.5163, allocations: 0.9447 MB / 0.6912 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/0.5335, allocations: 8.741 MB / 0.6997 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.5337, allocations: 98.08 kB / 0.6998 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003854/0.5341, allocations: 120 kB / 0.6999 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/0.5375, allocations: 1.522 MB / 0.7014 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5375, allocations: 0 / 0.7014 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.5377, allocations: 44 kB / 0.7015 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.5377, allocations: 24 kB / 0.7015 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.5412, allocations: 1.343 MB / 0.7028 GB, free: 15.55 MB / 0.545 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.01177/0.553, allocations: 7.221 MB / 0.7098 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.5563, allocations: 1.08 MB / 0.7109 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.5576, allocations: 0.5061 MB / 0.7114 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004325/0.562, allocations: 2.989 MB / 0.7143 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.562, allocations: 43.12 kB / 0.7144 GB, free: 2.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 4.088e-06/0.562, allocations: 3.938 kB / 0.7144 GB, free: 2.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.005037/0.5671, allocations: 1.724 MB / 0.716 GB, free: 1.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.5671, allocations: 63.97 kB / 0.7161 GB, free: 1.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/0.5716, allocations: 2.677 MB / 0.7187 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.5718, allocations: 41.7 kB / 0.7188 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.5728, allocations: 1.084 MB / 0.7198 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.5731, allocations: 213 kB / 0.72 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007043/0.5738, allocations: 443 kB / 0.7204 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.5739, allocations: 301.1 kB / 0.7207 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.5761, allocations: 1.156 MB / 0.7219 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.5786, allocations: 1.563 MB / 0.7234 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/0.5829, allocations: 2.476 MB / 0.7258 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.5829, allocations: 4 kB / 0.7258 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005914/0.5888, allocations: 3.049 MB / 0.7288 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.5889, allocations: 8 kB / 0.7288 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.5889, allocations: 8 kB / 0.7288 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004864/0.5894, allocations: 116.7 kB / 0.7289 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.5908, allocations: 348 kB / 0.7292 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/0.5914, allocations: 0.6225 MB / 0.7298 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.5935, allocations: 242.6 kB / 0.7301 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.5937, allocations: 104 kB / 0.7302 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002809/0.5965, allocations: 1.507 MB / 0.7316 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00215/0.5987, allocations: 1.375 MB / 0.733 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003523/0.6022, allocations: 2.094 MB / 0.735 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.225e-06/0.6022, allocations: 8 kB / 0.735 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005492/0.6077, allocations: 2.682 MB / 0.7377 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6078, allocations: 14.22 kB / 0.7377 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.6078, allocations: 8 kB / 0.7377 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.6083, allocations: 128.8 kB / 0.7378 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.6096, allocations: 331.5 kB / 0.7381 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.6141, allocations: 2.841 MB / 0.7409 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.6163, allocations: 191.8 kB / 0.7411 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.6166, allocations: 83.97 kB / 0.7412 GB, free: 6.613 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005442/0.6171, allocations: 253.2 kB / 0.7414 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007231/0.6179, allocations: 240.8 kB / 0.7416 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/0.6225, allocations: 1.59 MB / 0.7432 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.6225, allocations: 15.98 kB / 0.7432 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6225, allocations: 7.984 kB / 0.7432 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.6226, allocations: 11.92 kB / 0.7432 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007265/0.6298, allocations: 3.146 MB / 0.7463 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.6299, allocations: 4 kB / 0.7463 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/0.6308, allocations: 164 kB / 0.7465 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.6311, allocations: 72.81 kB / 0.7465 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.6311, allocations: 27.97 kB / 0.7465 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004655/0.6316, allocations: 0.6069 MB / 0.7471 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.6316, allocations: 4 kB / 0.7471 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2824/0.914, allocations: 1.532 MB / 0.7486 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.9152, allocations: 438 kB / 0.7491 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/0.9155, allocations: 19.42 kB / 0.7491 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.9167, allocations: 78.73 kB / 0.7492 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.9168, allocations: 55.38 kB / 0.7492 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.917, allocations: 49.7 kB / 0.7493 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003318/0.9203, allocations: 1.779 MB / 0.751 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9203, allocations: 0.5625 kB / 0.751 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00409/0.9244, allocations: 1.244 MB / 0.7522 GB, free: 160.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005359/0.9298, allocations: 2.771 MB / 0.7549 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00712/0.9369, allocations: 3.533 MB / 0.7584 GB, free: 158 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.9369, allocations: 2.156 kB / 0.7584 GB, free: 158 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.9385, allocations: 0.5897 MB / 0.7589 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/0.9435, allocations: 1.236 MB / 0.7601 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/0.9747, allocations: 21.7 MB / 0.7813 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.9758, allocations: 1.736 MB / 0.783 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003063/0.9789, allocations: 0.703 MB / 0.7837 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.98, allocations: 1.03 MB / 0.7847 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.734e-06/0.98, allocations: 0 / 0.7847 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09886/1.079, allocations: 72.38 MB / 0.8554 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.97, allocations: 4.062 kB / 0.8554 GB, free: 71.19 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)