Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7304/0.7304, allocations: 127.4 MB / 134.9 MB, free: 3.793 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 188.8 kB / 164.7 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.2 MB / 399.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009517/0.0009516, allocations: 86.42 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.855e-05/1.866e-05, allocations: 4 kB / 0.5467 GB, free: 60.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1552, allocations: 76.77 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.323/5.478, allocations: 2.19 GB / 2.812 GB, free: 56.98 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/5.478, allocations: 91.31 kB / 2.812 GB, free: 56.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.026/11.5, allocations: 1.503 GB / 4.315 GB, free: 62.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/11.5, allocations: 2.094 kB / 4.315 GB, free: 62.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002961/11.5, allocations: 62.45 kB / 4.315 GB, free: 62.03 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.008198/11.51, allocations: 2.571 MB / 4.317 GB, free: 60.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/11.51, allocations: 11.03 kB / 4.317 GB, free: 60.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006806/11.52, allocations: 0.8863 MB / 4.318 GB, free: 60.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008626/11.53, allocations: 3.079 MB / 4.321 GB, free: 59.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-05/11.53, allocations: 48.12 kB / 4.321 GB, free: 59.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003793/11.53, allocations: 90.72 kB / 4.321 GB, free: 59.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002431/11.53, allocations: 1.222 MB / 4.323 GB, free: 59.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/11.53, allocations: 1.43 MB / 4.324 GB, free: 59.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/11.53, allocations: 0 / 4.324 GB, free: 59.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/11.53, allocations: 3.812 kB / 4.324 GB, free: 59.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/11.53, allocations: 47 kB / 4.324 GB, free: 59.75 MB / 0.698 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.01154/11.55, allocations: 7.384 MB / 4.331 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/11.55, allocations: 1.198 MB / 4.332 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/11.55, allocations: 490.6 kB / 4.333 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/11.55, allocations: 117.3 kB / 4.333 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/11.55, allocations: 50.09 kB / 4.333 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001378/11.55, allocations: 118 kB / 4.333 GB, free: 55.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 4.358e-06/11.55, allocations: 0 / 4.333 GB, free: 55.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.004125/11.55, allocations: 1.338 MB / 4.335 GB, free: 55.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/11.55, allocations: 59.38 kB / 4.335 GB, free: 55.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/11.56, allocations: 1.353 MB / 4.336 GB, free: 55.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/11.56, allocations: 25.7 kB / 4.336 GB, free: 55.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007881/11.56, allocations: 1.011 MB / 4.337 GB, free: 54.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/11.56, allocations: 283.3 kB / 4.337 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/11.56, allocations: 0 / 4.337 GB, free: 54.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/11.56, allocations: 350.6 kB / 4.338 GB, free: 54.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/11.56, allocations: 404.4 kB / 4.338 GB, free: 54.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/11.56, allocations: 0.8196 MB / 4.339 GB, free: 53.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/11.56, allocations: 0.5608 MB / 4.339 GB, free: 53.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/11.56, allocations: 3.375 kB / 4.339 GB, free: 53.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003569/11.56, allocations: 1.588 MB / 4.341 GB, free: 53.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009346/11.57, allocations: 3.867 MB / 4.345 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/11.57, allocations: 11.53 kB / 4.345 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009614/11.57, allocations: 329.1 kB / 4.345 GB, free: 49.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/11.57, allocations: 273 kB / 4.345 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/11.57, allocations: 3.67 MB / 4.349 GB, free: 46.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/11.57, allocations: 115.9 kB / 4.349 GB, free: 46.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/11.58, allocations: 77.47 kB / 4.349 GB, free: 46.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/11.58, allocations: 6.406 kB / 4.349 GB, free: 46.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003487/11.58, allocations: 1.286 MB / 4.35 GB, free: 46.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/11.58, allocations: 7.469 kB / 4.35 GB, free: 46.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/11.58, allocations: 317.4 kB / 4.351 GB, free: 46.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/11.58, allocations: 220.1 kB / 4.351 GB, free: 46.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/11.59, allocations: 4.991 MB / 4.356 GB, free: 42.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/11.59, allocations: 102.2 kB / 4.356 GB, free: 42.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/11.59, allocations: 72.22 kB / 4.356 GB, free: 42.96 MB / 0.698 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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 109 * 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.0005283/11.59, allocations: 140.6 kB / 4.356 GB, free: 42.84 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003972/11.59, allocations: 1.291 MB / 4.357 GB, free: 42.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/11.59, allocations: 190.6 kB / 4.357 GB, free: 42.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/11.6, allocations: 1.41 MB / 4.359 GB, free: 42.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/11.6, allocations: 13.72 kB / 4.359 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/11.6, allocations: 3.312 kB / 4.359 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00334/11.6, allocations: 1.224 MB / 4.36 GB, free: 41.95 MB / 0.698 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.00804/11.61, allocations: 3.013 MB / 4.363 GB, free: 40.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/11.61, allocations: 0 / 4.363 GB, free: 40.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/11.61, allocations: 215.7 kB / 4.363 GB, free: 40.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005927/11.61, allocations: 232.2 kB / 4.363 GB, free: 40.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/11.61, allocations: 21.89 kB / 4.363 GB, free: 40.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/11.62, allocations: 4.147 MB / 4.367 GB, free: 36.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/11.62, allocations: 0 / 4.367 GB, free: 36.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004987/11.62, allocations: 1.994 MB / 4.369 GB, free: 35.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/11.62, allocations: 350.3 kB / 4.37 GB, free: 35.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/11.62, allocations: 3.812 kB / 4.37 GB, free: 35.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/11.62, allocations: 125.3 kB / 4.37 GB, free: 35.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/11.62, allocations: 57.08 kB / 4.37 GB, free: 35.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/11.62, allocations: 43.44 kB / 4.37 GB, free: 35.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001914/11.63, allocations: 1.024 MB / 4.371 GB, free: 35.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/11.63, allocations: 0 / 4.371 GB, free: 35.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006032/11.63, allocations: 1.409 MB / 4.372 GB, free: 34.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 65 * 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,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01256/11.64, allocations: 7.409 MB / 4.379 GB, free: 30.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004566/11.65, allocations: 2.056 MB / 4.381 GB, free: 29.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/11.65, allocations: 0.75 kB / 4.381 GB, free: 29.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/11.65, allocations: 0.6062 MB / 4.382 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/11.66, allocations: 0.9272 MB / 4.383 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/11.66, allocations: 3.309 MB / 4.386 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/11.67, allocations: 1.658 MB / 4.388 GB, free: 24.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003659/11.67, allocations: 0.7045 MB / 4.389 GB, free: 24.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/11.67, allocations: 0.8311 MB / 4.389 GB, free: 23.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.703e-06/11.67, allocations: 0 / 4.389 GB, free: 23.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7298/12.4, allocations: 87.07 MB / 4.474 GB, free: 79.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/12.4, allocations: 175.4 kB / 4.475 GB, free: 79.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.638/18.04, allocations: 0 / 4.475 GB, free: 79.68 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)