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.001339/0.001339, allocations: 103.4 kB / 16.27 MB, free: 5.93 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.00154/0.00154, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7486/0.7486, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3511, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05297/0.4041, allocations: 58.54 MB / 0.6244 GB, free: 172 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03908/0.4432, allocations: 19.94 MB / 0.6439 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005856/0.4491, allocations: 87.5 kB / 0.644 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01767/0.4668, allocations: 9.817 MB / 0.6536 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007593/0.4744, allocations: 2.862 MB / 0.6564 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.4799, allocations: 2.306 MB / 0.6586 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02067/0.5006, allocations: 14.18 MB / 0.6725 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004112/0.5047, allocations: 1.76 MB / 0.6742 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00532/0.5101, allocations: 2.03 MB / 0.6762 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.5128, allocations: 1.501 MB / 0.6776 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000779/0.5136, allocations: 200 kB / 0.6778 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005452/0.519, allocations: 2.32 MB / 0.6801 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.5203, allocations: 0.8684 MB / 0.6809 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002876/0.5232, allocations: 1.43 MB / 0.6823 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008456/0.5317, allocations: 4.65 MB / 0.6869 GB, free: 72 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5317, allocations: 0 / 0.6869 GB, free: 72 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5317, allocations: 0 / 0.6869 GB, free: 72 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001525/0.5319, allocations: 0 / 0.6869 GB, free: 72 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.007167/0.5391, allocations: 3.289 MB / 0.6901 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5391, allocations: 8.625 kB / 0.6901 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003436/0.5395, allocations: 156.6 kB / 0.6903 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.5451, allocations: 0.9408 MB / 0.6912 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/0.5619, allocations: 8.751 MB / 0.6997 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.5621, allocations: 98.08 kB / 0.6998 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.5625, allocations: 120 kB / 0.6999 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/0.5665, allocations: 1.518 MB / 0.7014 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.5666, allocations: 4 kB / 0.7014 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.5668, allocations: 40 kB / 0.7015 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.5668, allocations: 31.98 kB / 0.7015 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.5705, allocations: 1.343 MB / 0.7028 GB, free: 15.53 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.01156/0.5821, allocations: 7.217 MB / 0.7098 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/0.5855, allocations: 1.084 MB / 0.7109 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.5869, allocations: 0.5032 MB / 0.7114 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004895/0.5918, allocations: 2.989 MB / 0.7143 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.5919, allocations: 43.06 kB / 0.7144 GB, free: 2.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 2.795e-06/0.5919, allocations: 4 kB / 0.7144 GB, free: 2.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.005397/0.5973, allocations: 1.724 MB / 0.716 GB, free: 1.184 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5974, allocations: 55.97 kB / 0.7161 GB, free: 1.117 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/0.6018, allocations: 2.685 MB / 0.7187 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002082/0.6021, allocations: 45.7 kB / 0.7188 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.6032, allocations: 1.08 MB / 0.7198 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.6035, allocations: 217 kB / 0.72 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008576/0.6044, allocations: 439.1 kB / 0.7204 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6045, allocations: 301.1 kB / 0.7207 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.6067, allocations: 1.156 MB / 0.7219 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/0.6093, allocations: 1.563 MB / 0.7234 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/0.6138, allocations: 2.473 MB / 0.7258 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.6138, allocations: 0 / 0.7258 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006232/0.62, allocations: 3.057 MB / 0.7288 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.6201, allocations: 11.98 kB / 0.7288 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.6201, allocations: 8 kB / 0.7288 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.6206, allocations: 104.8 kB / 0.7289 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.6222, allocations: 351.8 kB / 0.7292 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006568/0.6229, allocations: 0.6186 MB / 0.7298 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.6253, allocations: 242.6 kB / 0.7301 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003148/0.6256, allocations: 103.9 kB / 0.7302 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003231/0.6289, allocations: 1.516 MB / 0.7317 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002489/0.6314, allocations: 1.375 MB / 0.733 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003904/0.6353, allocations: 2.09 MB / 0.735 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.617e-06/0.6354, allocations: 4 kB / 0.735 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005669/0.641, allocations: 2.69 MB / 0.7377 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6411, allocations: 8.031 kB / 0.7377 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.6411, allocations: 12 kB / 0.7377 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.6417, allocations: 128.8 kB / 0.7378 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6431, allocations: 335.5 kB / 0.7381 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004676/0.6478, allocations: 2.829 MB / 0.7409 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.6501, allocations: 203.8 kB / 0.7411 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/0.6504, allocations: 83.97 kB / 0.7412 GB, free: 6.598 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.0005006/0.6509, allocations: 251.9 kB / 0.7414 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/0.6515, allocations: 240.8 kB / 0.7416 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/0.6561, allocations: 1.583 MB / 0.7432 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/0.6562, allocations: 15.98 kB / 0.7432 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6562, allocations: 3.938 kB / 0.7432 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6562, allocations: 11.92 kB / 0.7432 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007529/0.6637, allocations: 3.15 MB / 0.7463 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.6638, allocations: 0 / 0.7463 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009941/0.6648, allocations: 168 kB / 0.7464 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.6651, allocations: 72.81 kB / 0.7465 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.6652, allocations: 31.97 kB / 0.7465 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005587/0.6658, allocations: 0.603 MB / 0.7471 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6658, allocations: 0 / 0.7471 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2954/0.9612, allocations: 1.536 MB / 0.7486 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.9624, allocations: 442.7 kB / 0.7491 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/0.9629, allocations: 16.53 kB / 0.7491 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.9642, allocations: 83.03 kB / 0.7492 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.9643, allocations: 59.12 kB / 0.7492 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.9644, allocations: 46.69 kB / 0.7493 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003627/0.9681, allocations: 1.782 MB / 0.751 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9681, allocations: 0.625 kB / 0.751 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004423/0.9725, allocations: 1.24 MB / 0.7522 GB, free: 161.1 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.005846/0.9784, allocations: 2.764 MB / 0.7549 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008178/0.9866, allocations: 3.529 MB / 0.7584 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/0.9866, allocations: 1.312 kB / 0.7584 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.9886, allocations: 0.5954 MB / 0.7589 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006023/0.9947, allocations: 1.227 MB / 0.7601 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03495/1.03, allocations: 21.71 MB / 0.7813 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/1.031, allocations: 1.742 MB / 0.783 GB, free: 145 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003145/1.034, allocations: 0.6989 MB / 0.7837 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.035, allocations: 1.03 MB / 0.7847 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/1.035, allocations: 0 / 0.7847 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.143, allocations: 72.37 MB / 0.8554 GB, free: 71.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.86, allocations: 4 kB / 0.8554 GB, free: 71.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)