Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8542/0.8542, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 180.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.753/1.753, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 89.55 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 278.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.939e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4397, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.084/4.523, allocations: 1.905 GB / 2.662 GB, free: 113 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/4.524, allocations: 94.39 kB / 2.662 GB, free: 113 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.779/10.3, allocations: 1.536 GB / 4.198 GB, free: 76.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/10.3, allocations: 0 / 4.198 GB, free: 76.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003124/10.3, allocations: 60.86 kB / 4.198 GB, free: 76.11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008203/10.31, allocations: 2.575 MB / 4.201 GB, free: 75.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/10.31, allocations: 10.91 kB / 4.201 GB, free: 75.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006364/10.32, allocations: 0.8203 MB / 4.202 GB, free: 75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008505/10.33, allocations: 3.001 MB / 4.204 GB, free: 74.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/10.33, allocations: 49.91 kB / 4.205 GB, free: 74.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000413/10.33, allocations: 89.66 kB / 4.205 GB, free: 74.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002456/10.33, allocations: 1.219 MB / 4.206 GB, free: 74.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/10.33, allocations: 1.417 MB / 4.207 GB, free: 74.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/10.33, allocations: 0 / 4.207 GB, free: 74.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/10.33, allocations: 3.469 kB / 4.207 GB, free: 74.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/10.33, allocations: 49.41 kB / 4.207 GB, free: 74.37 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.01056/10.34, allocations: 7.393 MB / 4.214 GB, free: 70.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/10.34, allocations: 1.184 MB / 4.216 GB, free: 70.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/10.35, allocations: 490.4 kB / 4.216 GB, free: 70.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/10.35, allocations: 116.7 kB / 4.216 GB, free: 70.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/10.35, allocations: 40.91 kB / 4.216 GB, free: 70.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001119/10.35, allocations: 124.1 kB / 4.216 GB, free: 70.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 3.226e-06/10.35, allocations: 1.5 kB / 4.216 GB, free: 70.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.003146/10.35, allocations: 1.273 MB / 4.218 GB, free: 70.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/10.35, allocations: 66.48 kB / 4.218 GB, free: 70.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/10.35, allocations: 1.356 MB / 4.219 GB, free: 69.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/10.35, allocations: 25.7 kB / 4.219 GB, free: 69.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007221/10.35, allocations: 1.001 MB / 4.22 GB, free: 69.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/10.35, allocations: 286.2 kB / 4.22 GB, free: 69.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/10.35, allocations: 0 / 4.22 GB, free: 69.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/10.35, allocations: 349.1 kB / 4.221 GB, free: 69.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/10.35, allocations: 403 kB / 4.221 GB, free: 69.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/10.35, allocations: 0.8255 MB / 4.222 GB, free: 68.56 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/10.36, allocations: 0.5725 MB / 4.222 GB, free: 68.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/10.36, allocations: 3.438 kB / 4.222 GB, free: 68.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00356/10.36, allocations: 1.582 MB / 4.224 GB, free: 68.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008745/10.36, allocations: 3.955 MB / 4.228 GB, free: 64.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/10.36, allocations: 10.78 kB / 4.228 GB, free: 64.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009259/10.36, allocations: 312.1 kB / 4.228 GB, free: 64.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/10.36, allocations: 239.7 kB / 4.228 GB, free: 64.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/10.37, allocations: 3.651 MB / 4.232 GB, free: 61.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/10.37, allocations: 112.3 kB / 4.232 GB, free: 61.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/10.37, allocations: 82.36 kB / 4.232 GB, free: 61.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/10.37, allocations: 4.875 kB / 4.232 GB, free: 61.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003271/10.37, allocations: 1.29 MB / 4.233 GB, free: 61.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/10.37, allocations: 11.06 kB / 4.233 GB, free: 61.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/10.37, allocations: 312.2 kB / 4.234 GB, free: 61.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/10.37, allocations: 227.8 kB / 4.234 GB, free: 61.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/10.38, allocations: 4.996 MB / 4.239 GB, free: 57.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/10.38, allocations: 107.7 kB / 4.239 GB, free: 57.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/10.38, allocations: 70.33 kB / 4.239 GB, free: 57.92 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 9,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004449/10.38, allocations: 151.6 kB / 4.239 GB, free: 57.8 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003164/10.39, allocations: 1.192 MB / 4.24 GB, free: 57.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/10.39, allocations: 191.1 kB / 4.24 GB, free: 57.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/10.39, allocations: 1.312 MB / 4.242 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/10.39, allocations: 12.5 kB / 4.242 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/10.39, allocations: 3.469 kB / 4.242 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002327/10.39, allocations: 1.119 MB / 4.243 GB, free: 57.15 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.005924/10.4, allocations: 2.968 MB / 4.246 GB, free: 56.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/10.4, allocations: 0 / 4.246 GB, free: 56.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/10.4, allocations: 177.5 kB / 4.246 GB, free: 56.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/10.4, allocations: 207.8 kB / 4.246 GB, free: 56.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/10.4, allocations: 16.81 kB / 4.246 GB, free: 56.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/10.4, allocations: 3.44 MB / 4.249 GB, free: 53.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/10.4, allocations: 3.375 kB / 4.249 GB, free: 53.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/10.41, allocations: 1.902 MB / 4.251 GB, free: 53.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009164/10.41, allocations: 348.6 kB / 4.252 GB, free: 53.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/10.41, allocations: 5.188 kB / 4.252 GB, free: 53.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/10.41, allocations: 116.1 kB / 4.252 GB, free: 53.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/10.41, allocations: 60.55 kB / 4.252 GB, free: 53.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/10.41, allocations: 37.83 kB / 4.252 GB, free: 53.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001496/10.41, allocations: 1.024 MB / 4.253 GB, free: 52.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/10.41, allocations: 0 / 4.253 GB, free: 52.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004855/10.41, allocations: 1.444 MB / 4.254 GB, free: 52.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/10.42, allocations: 7.248 MB / 4.261 GB, free: 49.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004125/10.43, allocations: 2.028 MB / 4.263 GB, free: 49.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/10.43, allocations: 0 / 4.263 GB, free: 49.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009669/10.43, allocations: 0.5695 MB / 4.264 GB, free: 49.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/10.43, allocations: 0.9184 MB / 4.265 GB, free: 49.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007161/10.44, allocations: 3.324 MB / 4.268 GB, free: 48.31 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/10.44, allocations: 1.664 MB / 4.27 GB, free: 47.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003116/10.45, allocations: 0.6944 MB / 4.27 GB, free: 47.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/10.45, allocations: 0.8237 MB / 4.271 GB, free: 47.54 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/10.45, allocations: 0 / 4.271 GB, free: 47.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/10.59, allocations: 85.47 MB / 4.355 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/10.59, allocations: 198.5 kB / 4.355 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.249/15.84, allocations: 4 kB / 4.355 GB, free: 38.4 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)