Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.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.FlowControlled_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow",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.827/0.827, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001061/0.001061, allocations: 187.8 kB / 182.2 MB, free: 9.465 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.459/1.459, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0008988/0.0008988, allocations: 84.16 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 275.1 kB / 0.5889 GB, free: 54.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.625e-05, allocations: 4 kB / 0.6766 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4125, allocations: 82.78 MB / 0.7575 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.303/4.716, allocations: 1.905 GB / 2.663 GB, free: 152.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/4.716, allocations: 83.95 kB / 2.663 GB, free: 152.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691/10.41, allocations: 1.654 GB / 4.317 GB, free: 76.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.784e-06/10.41, allocations: 3.938 kB / 4.317 GB, free: 76.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004807/10.41, allocations: 62.62 kB / 4.317 GB, free: 76.92 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.009345/10.42, allocations: 2.51 MB / 4.319 GB, free: 75.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/10.42, allocations: 7.25 kB / 4.319 GB, free: 75.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006521/10.42, allocations: 0.8106 MB / 4.32 GB, free: 75.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00907/10.43, allocations: 2.634 MB / 4.323 GB, free: 75.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/10.43, allocations: 45.88 kB / 4.323 GB, free: 75.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006267/10.43, allocations: 85.91 kB / 4.323 GB, free: 75.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003086/10.44, allocations: 1.121 MB / 4.324 GB, free: 75.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/10.44, allocations: 1.325 MB / 4.325 GB, free: 74.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/10.44, allocations: 7.969 kB / 4.325 GB, free: 74.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/10.44, allocations: 0 / 4.325 GB, free: 74.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/10.44, allocations: 47.52 kB / 4.325 GB, free: 74.82 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.01057/10.45, allocations: 7.15 MB / 4.332 GB, free: 71.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/10.45, allocations: 0.9655 MB / 4.333 GB, free: 70.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/10.45, allocations: 422.6 kB / 4.334 GB, free: 70.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/10.45, allocations: 113.5 kB / 4.334 GB, free: 70.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/10.45, allocations: 41.38 kB / 4.334 GB, free: 70.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00128/10.45, allocations: 191 kB / 4.334 GB, free: 70.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 5.41e-06/10.45, allocations: 1.938 kB / 4.334 GB, free: 70.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.002696/10.46, allocations: 1.031 MB / 4.335 GB, free: 70.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/10.46, allocations: 60.53 kB / 4.335 GB, free: 70.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/10.46, allocations: 1.285 MB / 4.336 GB, free: 70.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/10.46, allocations: 30.48 kB / 4.336 GB, free: 70.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/10.46, allocations: 0.9766 MB / 4.337 GB, free: 69.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/10.46, allocations: 260.2 kB / 4.337 GB, free: 69.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/10.46, allocations: 0 / 4.337 GB, free: 69.78 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/10.46, allocations: 344.2 kB / 4.338 GB, free: 69.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/10.46, allocations: 337.7 kB / 4.338 GB, free: 69.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/10.46, allocations: 0.7569 MB / 4.339 GB, free: 68.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/10.46, allocations: 495.5 kB / 4.339 GB, free: 68.95 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/10.46, allocations: 4.625 kB / 4.339 GB, free: 68.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002822/10.46, allocations: 1.296 MB / 4.341 GB, free: 68.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000799/10.47, allocations: 3.936 MB / 4.344 GB, free: 64.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/10.47, allocations: 10.12 kB / 4.344 GB, free: 64.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/10.47, allocations: 99.91 kB / 4.344 GB, free: 64.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/10.47, allocations: 262.9 kB / 4.345 GB, free: 64.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/10.47, allocations: 2.258 MB / 4.347 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/10.47, allocations: 117.4 kB / 4.347 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/10.47, allocations: 61.39 kB / 4.347 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/10.47, allocations: 3.344 kB / 4.347 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/10.47, allocations: 0.9916 MB / 4.348 GB, free: 62.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/10.47, allocations: 7.5 kB / 4.348 GB, free: 62.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/10.47, allocations: 112 kB / 4.348 GB, free: 62.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/10.48, allocations: 233.3 kB / 4.348 GB, free: 62.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/10.48, allocations: 1.657 MB / 4.35 GB, free: 61.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/10.48, allocations: 110.1 kB / 4.35 GB, free: 61.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/10.48, allocations: 53.75 kB / 4.35 GB, free: 61.51 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 (122): * Single equations (assignments): 118 * 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: 1 * 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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000382/10.48, allocations: 148.9 kB / 4.35 GB, free: 61.38 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002189/10.48, allocations: 0.9377 MB / 4.351 GB, free: 61.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/10.48, allocations: 188.9 kB / 4.351 GB, free: 61.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/10.48, allocations: 1.014 MB / 4.352 GB, free: 61.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/10.48, allocations: 8.188 kB / 4.352 GB, free: 61.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/10.48, allocations: 2.953 kB / 4.352 GB, free: 61.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/10.49, allocations: 0.8737 MB / 4.353 GB, free: 60.83 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.005498/10.49, allocations: 2.674 MB / 4.356 GB, free: 60.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/10.49, allocations: 0 / 4.356 GB, free: 60.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000945/10.49, allocations: 190.9 kB / 4.356 GB, free: 60.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/10.49, allocations: 88.88 kB / 4.356 GB, free: 60.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/10.49, allocations: 9.453 kB / 4.356 GB, free: 60.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/10.5, allocations: 2.187 MB / 4.358 GB, free: 58.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/10.5, allocations: 5.391 kB / 4.358 GB, free: 58.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/10.5, allocations: 1.586 MB / 4.36 GB, free: 57.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000895/10.5, allocations: 330.6 kB / 4.36 GB, free: 57.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/10.5, allocations: 10.61 kB / 4.36 GB, free: 57.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/10.5, allocations: 122.4 kB / 4.36 GB, free: 57.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/10.5, allocations: 57.83 kB / 4.36 GB, free: 57.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/10.5, allocations: 33.77 kB / 4.36 GB, free: 57.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001733/10.5, allocations: 0.9685 MB / 4.361 GB, free: 57.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/10.5, allocations: 1.469 kB / 4.361 GB, free: 57.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00551/10.51, allocations: 1.297 MB / 4.363 GB, free: 57.45 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 (76): * Single equations (assignments): 74 * 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: 1 * 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: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009646/10.52, allocations: 6.738 MB / 4.369 GB, free: 54.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003226/10.52, allocations: 1.615 MB / 4.371 GB, free: 54.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/10.52, allocations: 0 / 4.371 GB, free: 54.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007573/10.52, allocations: 495.5 kB / 4.371 GB, free: 54.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005061/10.53, allocations: 0.8698 MB / 4.372 GB, free: 54.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008693/10.54, allocations: 3.113 MB / 4.375 GB, free: 53.08 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/10.54, allocations: 1.613 MB / 4.377 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003037/10.54, allocations: 0.6611 MB / 4.377 GB, free: 52.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008977/10.54, allocations: 0.8102 MB / 4.378 GB, free: 52.11 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/10.54, allocations: 0 / 4.378 GB, free: 52.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/10.67, allocations: 78.05 MB / 4.454 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/10.67, allocations: 191.4 kB / 4.455 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.083/15.75, allocations: 0 / 4.455 GB, free: 3.5 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)