Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.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_Nrpm,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm",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.8994/0.8994, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001118/0.001118, allocations: 175.9 kB / 182.2 MB, free: 9.457 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.545/1.545, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009591/0.000959, allocations: 95.34 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 278 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.895e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3873, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.328/4.716, allocations: 1.905 GB / 2.662 GB, free: 112.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/4.716, allocations: 89.77 kB / 2.662 GB, free: 112.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.83/10.55, allocations: 1.536 GB / 4.198 GB, free: 75.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.452e-06/10.55, allocations: 3.656 kB / 4.198 GB, free: 75.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002761/10.55, allocations: 55.92 kB / 4.198 GB, free: 75.76 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.006771/10.55, allocations: 2.572 MB / 4.201 GB, free: 74.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/10.55, allocations: 9.688 kB / 4.201 GB, free: 74.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005775/10.56, allocations: 0.8186 MB / 4.202 GB, free: 74.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007245/10.57, allocations: 3.002 MB / 4.205 GB, free: 74.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/10.57, allocations: 47.5 kB / 4.205 GB, free: 74.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/10.57, allocations: 93.66 kB / 4.205 GB, free: 74.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002189/10.57, allocations: 1.229 MB / 4.206 GB, free: 74.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/10.57, allocations: 1.415 MB / 4.207 GB, free: 74.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/10.57, allocations: 3.844 kB / 4.207 GB, free: 74.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/10.57, allocations: 3.844 kB / 4.207 GB, free: 74.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/10.57, allocations: 49.55 kB / 4.207 GB, free: 74.02 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.009346/10.58, allocations: 7.383 MB / 4.214 GB, free: 70.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/10.58, allocations: 1.192 MB / 4.216 GB, free: 70.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/10.58, allocations: 482 kB / 4.216 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/10.58, allocations: 111.9 kB / 4.216 GB, free: 70.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/10.58, allocations: 42 kB / 4.216 GB, free: 70.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001017/10.58, allocations: 126.3 kB / 4.216 GB, free: 70.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 3.457e-06/10.58, allocations: 0 / 4.216 GB, free: 70.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.002911/10.59, allocations: 1.283 MB / 4.218 GB, free: 69.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/10.59, allocations: 63.8 kB / 4.218 GB, free: 69.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/10.59, allocations: 1.348 MB / 4.219 GB, free: 69.56 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/10.59, allocations: 29.45 kB / 4.219 GB, free: 69.53 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/10.59, allocations: 1 MB / 4.22 GB, free: 69.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/10.59, allocations: 278.9 kB / 4.22 GB, free: 69.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/10.59, allocations: 0 / 4.22 GB, free: 69.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/10.59, allocations: 355.5 kB / 4.221 GB, free: 68.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/10.59, allocations: 401.1 kB / 4.221 GB, free: 68.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/10.59, allocations: 0.828 MB / 4.222 GB, free: 68.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/10.59, allocations: 0.5633 MB / 4.222 GB, free: 68.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/10.59, allocations: 5.031 kB / 4.222 GB, free: 68.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003573/10.6, allocations: 1.589 MB / 4.224 GB, free: 68.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001021/10.6, allocations: 3.957 MB / 4.228 GB, free: 63.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/10.6, allocations: 8.875 kB / 4.228 GB, free: 63.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009338/10.6, allocations: 319.5 kB / 4.228 GB, free: 63.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/10.6, allocations: 234.5 kB / 4.228 GB, free: 63.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/10.6, allocations: 3.65 MB / 4.232 GB, free: 61.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/10.6, allocations: 119.8 kB / 4.232 GB, free: 61.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/10.6, allocations: 82.28 kB / 4.232 GB, free: 61.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/10.6, allocations: 3.219 kB / 4.232 GB, free: 61.07 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003308/10.61, allocations: 1.29 MB / 4.233 GB, free: 61.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/10.61, allocations: 12.41 kB / 4.233 GB, free: 61.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/10.61, allocations: 309.4 kB / 4.234 GB, free: 60.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/10.61, allocations: 215.2 kB / 4.234 GB, free: 60.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/10.62, allocations: 5.006 MB / 4.239 GB, free: 57.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/10.62, allocations: 106.3 kB / 4.239 GB, free: 57.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/10.62, allocations: 70.45 kB / 4.239 GB, free: 57.56 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.0004374/10.62, allocations: 154.8 kB / 4.239 GB, free: 57.45 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002962/10.62, allocations: 1.193 MB / 4.24 GB, free: 57.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/10.62, allocations: 189.3 kB / 4.24 GB, free: 57.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/10.62, allocations: 1.314 MB / 4.242 GB, free: 57.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/10.62, allocations: 9.797 kB / 4.242 GB, free: 57.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/10.62, allocations: 2.344 kB / 4.242 GB, free: 57.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002206/10.63, allocations: 1.126 MB / 4.243 GB, free: 56.8 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.005828/10.63, allocations: 2.951 MB / 4.246 GB, free: 56.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/10.63, allocations: 0 / 4.246 GB, free: 56.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/10.63, allocations: 183.1 kB / 4.246 GB, free: 56.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/10.63, allocations: 219.4 kB / 4.246 GB, free: 56.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/10.63, allocations: 13.77 kB / 4.246 GB, free: 56.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/10.64, allocations: 3.433 MB / 4.249 GB, free: 53.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/10.64, allocations: 0 / 4.249 GB, free: 53.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004228/10.64, allocations: 1.901 MB / 4.251 GB, free: 52.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/10.64, allocations: 351.6 kB / 4.252 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/10.64, allocations: 2.906 kB / 4.252 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/10.64, allocations: 118 kB / 4.252 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/10.64, allocations: 58.72 kB / 4.252 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.782e-05/10.64, allocations: 39.81 kB / 4.252 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002245/10.65, allocations: 1.024 MB / 4.253 GB, free: 52.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/10.65, allocations: 0 / 4.253 GB, free: 52.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006968/10.65, allocations: 1.449 MB / 4.254 GB, free: 52.38 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.01072/10.66, allocations: 7.248 MB / 4.261 GB, free: 49.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004359/10.67, allocations: 2.036 MB / 4.263 GB, free: 49.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/10.67, allocations: 2.719 kB / 4.263 GB, free: 49.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/10.67, allocations: 0.5609 MB / 4.264 GB, free: 48.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/10.68, allocations: 0.9192 MB / 4.265 GB, free: 48.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009352/10.68, allocations: 3.317 MB / 4.268 GB, free: 47.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/10.69, allocations: 1.658 MB / 4.27 GB, free: 47.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003652/10.69, allocations: 0.706 MB / 4.27 GB, free: 47.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/10.69, allocations: 0.8333 MB / 4.271 GB, free: 47.19 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/10.69, allocations: 0 / 4.271 GB, free: 47.19 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.142/10.83, allocations: 85.48 MB / 4.355 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/10.83, allocations: 195.7 kB / 4.355 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.117/15.95, allocations: 1.969 kB / 4.355 GB, free: 38.16 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)