Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.725/2.725, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001555/0.001555, allocations: 170.3 kB / 370.8 MB, free: 10.84 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.21/2.21, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 94.02 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006885/0.0006887, allocations: 16.39 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2526, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.08537/0.3381, allocations: 48.64 MB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04453/0.3827, allocations: 18.21 MB / 1.044 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004304/0.387, allocations: 67.5 kB / 1.044 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.393, allocations: 1.038 MB / 1.045 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.4068, allocations: 2.612 MB / 1.047 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01692/0.4237, allocations: 3.403 MB / 1.051 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009099/0.4328, allocations: 2.863 MB / 1.053 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003974/0.4369, allocations: 1.308 MB / 1.055 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005696/0.4426, allocations: 1.421 MB / 1.056 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.4456, allocations: 0.9021 MB / 1.057 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008002/0.4465, allocations: 71.83 kB / 1.057 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005835/0.4524, allocations: 1.357 MB / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.4538, allocations: 442.4 kB / 1.059 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.4551, allocations: 420.6 kB / 1.059 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006611/0.4618, allocations: 2.537 MB / 1.062 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4619, allocations: 0 / 1.062 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.418e-06/0.4619, allocations: 0 / 1.062 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001208/0.462, allocations: 0 / 1.062 GB, free: 6.832 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.007334/0.4694, allocations: 2.132 MB / 1.064 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.4695, allocations: 8.031 kB / 1.064 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006692/0.4701, allocations: 164.5 kB / 1.064 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005989/0.4761, allocations: 0.6218 MB / 1.064 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00815/0.4843, allocations: 1.831 MB / 1.066 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.4846, allocations: 90.06 kB / 1.066 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005307/0.4852, allocations: 112 kB / 1.066 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005023/0.4902, allocations: 1.255 MB / 1.068 GB, free: 448 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.4903, allocations: 4 kB / 1.068 GB, free: 444 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.4905, allocations: 43.94 kB / 1.068 GB, free: 400 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.4906, allocations: 24 kB / 1.068 GB, free: 376 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6903/1.181, allocations: 0.9659 MB / 1.069 GB, free: 89.1 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01625/1.197, allocations: 5.836 MB / 1.074 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/1.202, allocations: 0.7524 MB / 1.075 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006212/1.208, allocations: 2.486 MB / 1.077 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.208, allocations: 40.95 kB / 1.078 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001057/1.209, allocations: 89.62 kB / 1.078 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=58): time 6.602e-06/1.209, allocations: 1.062 kB / 1.078 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58): time 0.007674/1.217, allocations: 1.256 MB / 1.079 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.217, allocations: 58.22 kB / 1.079 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/1.221, allocations: 1.554 MB / 1.08 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003349/1.222, allocations: 42.61 kB / 1.08 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.223, allocations: 0.8222 MB / 1.081 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/1.223, allocations: 199.1 kB / 1.081 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/1.223, allocations: 15.12 kB / 1.081 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.224, allocations: 348.8 kB / 1.082 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/1.226, allocations: 348.8 kB / 1.082 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/1.228, allocations: 0.6595 MB / 1.083 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/1.23, allocations: 421.7 kB / 1.083 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-05/1.23, allocations: 2.375 kB / 1.083 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.005968/1.236, allocations: 1.198 MB / 1.084 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008774/1.237, allocations: 3.363 MB / 1.088 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.171e-05/1.237, allocations: 9.016 kB / 1.088 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008729/1.238, allocations: 88.5 kB / 1.088 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/1.24, allocations: 228.1 kB / 1.088 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007734/1.241, allocations: 0.6124 MB / 1.089 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/1.244, allocations: 107.6 kB / 1.089 GB, free: 75.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004603/1.244, allocations: 62.97 kB / 1.089 GB, free: 75.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.244, allocations: 3.75 kB / 1.089 GB, free: 75.44 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005343/1.25, allocations: 1.073 MB / 1.09 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.017e-05/1.25, allocations: 8.578 kB / 1.09 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009773/1.251, allocations: 122.5 kB / 1.09 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.253, allocations: 212.5 kB / 1.09 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/1.26, allocations: 2.677 MB / 1.093 GB, free: 73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.262, allocations: 105.8 kB / 1.093 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/1.263, allocations: 54.17 kB / 1.093 GB, free: 72.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.00168/1.264, allocations: 492.8 kB / 1.093 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005847/1.265, allocations: 167.8 kB / 1.093 GB, free: 72.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005749/1.271, allocations: 1.244 MB / 1.095 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/1.271, allocations: 10.22 kB / 1.095 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.271, allocations: 0 / 1.095 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/1.271, allocations: 4.031 kB / 1.095 GB, free: 72.09 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009814/1.281, allocations: 2.563 MB / 1.097 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.281, allocations: 8.062 kB / 1.097 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.282, allocations: 145.3 kB / 1.097 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/1.283, allocations: 69.11 kB / 1.097 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/1.283, allocations: 29.22 kB / 1.097 GB, free: 70.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005108/1.283, allocations: 0.5986 MB / 1.098 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.283, allocations: 2.625 kB / 1.098 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/1.288, allocations: 1.301 MB / 1.099 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.29, allocations: 346.2 kB / 1.1 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/1.29, allocations: 22.42 kB / 1.1 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/1.292, allocations: 92.75 kB / 1.1 GB, free: 69.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/1.293, allocations: 52.02 kB / 1.1 GB, free: 69.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/1.293, allocations: 36.66 kB / 1.1 GB, free: 69.13 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003075/1.296, allocations: 1.055 MB / 1.101 GB, free: 68.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.352e-06/1.296, allocations: 0 / 1.101 GB, free: 68.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00543/1.302, allocations: 0.9414 MB / 1.102 GB, free: 68.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007355/1.309, allocations: 2.842 MB / 1.105 GB, free: 66.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00808/1.317, allocations: 1.567 MB / 1.106 GB, free: 66.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.317, allocations: 0 / 1.106 GB, free: 66.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/1.319, allocations: 449.1 kB / 1.107 GB, free: 66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/1.326, allocations: 0.7859 MB / 1.107 GB, free: 65.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/1.339, allocations: 9.78 MB / 1.117 GB, free: 57.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.341, allocations: 1.416 MB / 1.118 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003825/1.345, allocations: 469.5 kB / 1.119 GB, free: 56.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/1.347, allocations: 0.718 MB / 1.119 GB, free: 56.22 MB / 0.6823 GB Notification: Performance of SimCode: time 1.724e-06/1.347, allocations: 0 / 1.119 GB, free: 56.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.484, allocations: 50.8 MB / 1.169 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/1.484, allocations: 269.6 kB / 1.169 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.67/6.154, allocations: 2.391 kB / 1.169 GB, free: 13.97 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)