Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 289.9 MB / 297.4 MB, free: 6.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 184.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008692/0.0008693, allocations: 82.86 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.168e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.7738, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.946/6.72, allocations: 2.113 GB / 3.087 GB, free: 280.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/6.72, allocations: 92.66 kB / 3.087 GB, free: 280.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.761/12.48, allocations: 1.516 GB / 4.603 GB, free: 135.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.824e-06/12.48, allocations: 0.9688 kB / 4.603 GB, free: 135.1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003483/12.48, allocations: 61.55 kB / 4.603 GB, free: 135.1 MB / 0.9948 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.01058/12.49, allocations: 2.564 MB / 4.605 GB, free: 134.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/12.49, allocations: 10.38 kB / 4.605 GB, free: 134.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007159/12.5, allocations: 0.8278 MB / 4.606 GB, free: 134 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/12.51, allocations: 2.999 MB / 4.609 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/12.51, allocations: 44.44 kB / 4.609 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/12.51, allocations: 92.09 kB / 4.609 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00314/12.51, allocations: 1.219 MB / 4.61 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/12.52, allocations: 1.416 MB / 4.612 GB, free: 133.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/12.52, allocations: 0.625 kB / 4.612 GB, free: 133.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/12.52, allocations: 9.016 kB / 4.612 GB, free: 133.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.002e-05/12.52, allocations: 56.17 kB / 4.612 GB, free: 133.3 MB / 0.9948 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.01198/12.53, allocations: 7.385 MB / 4.619 GB, free: 129.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/12.53, allocations: 1.191 MB / 4.62 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/12.53, allocations: 487.3 kB / 4.621 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/12.53, allocations: 115.6 kB / 4.621 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/12.53, allocations: 38.59 kB / 4.621 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001412/12.53, allocations: 123 kB / 4.621 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=85): time 3.146e-06/12.53, allocations: 0 / 4.621 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.003283/12.54, allocations: 1.279 MB / 4.622 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/12.54, allocations: 64.78 kB / 4.622 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/12.54, allocations: 1.343 MB / 4.624 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/12.54, allocations: 29.17 kB / 4.624 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/12.54, allocations: 1.002 MB / 4.625 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/12.54, allocations: 282.1 kB / 4.625 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/12.54, allocations: 0 / 4.625 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/12.54, allocations: 349.8 kB / 4.625 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/12.54, allocations: 398.8 kB / 4.626 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/12.54, allocations: 0.8332 MB / 4.626 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/12.54, allocations: 0.5588 MB / 4.627 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/12.54, allocations: 0 / 4.627 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00371/12.55, allocations: 1.593 MB / 4.629 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009316/12.55, allocations: 3.953 MB / 4.632 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/12.55, allocations: 11.47 kB / 4.632 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009142/12.55, allocations: 316.6 kB / 4.633 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/12.55, allocations: 239.5 kB / 4.633 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/12.55, allocations: 3.646 MB / 4.636 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/12.55, allocations: 119.9 kB / 4.637 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/12.55, allocations: 75.42 kB / 4.637 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/12.55, allocations: 3.062 kB / 4.637 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003263/12.56, allocations: 1.289 MB / 4.638 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/12.56, allocations: 11.7 kB / 4.638 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/12.56, allocations: 314 kB / 4.638 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/12.56, allocations: 222.4 kB / 4.638 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/12.57, allocations: 5.017 MB / 4.643 GB, free: 117 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/12.57, allocations: 105.8 kB / 4.643 GB, free: 117 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/12.57, allocations: 64.97 kB / 4.643 GB, free: 117 MB / 0.9948 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.0004965/12.57, allocations: 145.4 kB / 4.644 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003083/12.57, allocations: 1.195 MB / 4.645 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/12.57, allocations: 197.7 kB / 4.645 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/12.58, allocations: 1.308 MB / 4.646 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/12.58, allocations: 9.438 kB / 4.646 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/12.58, allocations: 0 / 4.646 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002346/12.58, allocations: 1.123 MB / 4.647 GB, free: 116.2 MB / 0.9948 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.00738/12.59, allocations: 2.941 MB / 4.65 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/12.59, allocations: 10.47 kB / 4.65 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/12.59, allocations: 174.8 kB / 4.65 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/12.59, allocations: 213.9 kB / 4.651 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/12.59, allocations: 15.17 kB / 4.651 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/12.59, allocations: 3.435 MB / 4.654 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/12.59, allocations: 6.031 kB / 4.654 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/12.59, allocations: 1.895 MB / 4.656 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/12.59, allocations: 353 kB / 4.656 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/12.59, allocations: 3.938 kB / 4.656 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/12.6, allocations: 115.2 kB / 4.656 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/12.6, allocations: 67.19 kB / 4.656 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/12.6, allocations: 40.23 kB / 4.656 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001542/12.6, allocations: 1.021 MB / 4.657 GB, free: 112 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/12.6, allocations: 0 / 4.657 GB, free: 112 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005258/12.6, allocations: 1.44 MB / 4.659 GB, free: 111.8 MB / 0.9948 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.00971/12.61, allocations: 7.231 MB / 4.666 GB, free: 108.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003776/12.62, allocations: 2.037 MB / 4.668 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/12.62, allocations: 2.438 kB / 4.668 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008997/12.62, allocations: 0.5674 MB / 4.668 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004661/12.62, allocations: 0.9206 MB / 4.669 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/12.63, allocations: 3.318 MB / 4.673 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/12.63, allocations: 1.656 MB / 4.674 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002978/12.63, allocations: 0.6986 MB / 4.675 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000916/12.63, allocations: 0.8214 MB / 4.676 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.112e-06/12.63, allocations: 2.875 kB / 4.676 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/12.77, allocations: 85.32 MB / 4.759 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/12.77, allocations: 178.3 kB / 4.759 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.126/17.9, allocations: 0 / 4.759 GB, free: 101.6 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)