Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json 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/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7021/0.7024, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05292/0.7554, allocations: 48.51 MB / 1.001 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.7779, allocations: 15.57 MB / 1.016 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003035/0.781, allocations: 71.5 kB / 1.016 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.7848, allocations: 0.9562 MB / 1.017 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008483/0.7933, allocations: 2.66 MB / 1.02 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006571/0.7999, allocations: 2.32 MB / 1.022 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005804/0.8057, allocations: 2.892 MB / 1.025 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.8079, allocations: 1.331 MB / 1.026 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.8111, allocations: 1.436 MB / 1.028 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.8129, allocations: 0.9099 MB / 1.028 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.8132, allocations: 75.94 kB / 1.029 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.8164, allocations: 1.357 MB / 1.03 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005071/0.8169, allocations: 446.4 kB / 1.03 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.8174, allocations: 416.6 kB / 1.031 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.8207, allocations: 2.552 MB / 1.033 GB, free: 14.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8207, allocations: 0 / 1.033 GB, free: 14.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8207, allocations: 0 / 1.033 GB, free: 14.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.149e-05/0.8208, allocations: 0 / 1.033 GB, free: 14.5 MB / 0.795 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.003926/0.8247, allocations: 2.135 MB / 1.035 GB, free: 12.3 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8248, allocations: 16.03 kB / 1.035 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.825, allocations: 156.5 kB / 1.035 GB, free: 12.12 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.8293, allocations: 0.7974 MB / 1.036 GB, free: 11.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.8343, allocations: 1.928 MB / 1.038 GB, free: 9.344 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.8345, allocations: 90.06 kB / 1.038 GB, free: 9.254 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.8347, allocations: 116 kB / 1.038 GB, free: 9.141 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.8375, allocations: 1.305 MB / 1.04 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.8375, allocations: 4 kB / 1.04 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.8376, allocations: 47.94 kB / 1.04 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.8377, allocations: 27.94 kB / 1.04 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.8403, allocations: 1.058 MB / 1.041 GB, free: 6.633 MB / 0.795 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.008705/0.849, allocations: 5.934 MB / 1.046 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.8515, allocations: 0.859 MB / 1.047 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003451/0.855, allocations: 2.532 MB / 1.05 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.855, allocations: 39.12 kB / 1.05 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004959/0.8555, allocations: 83.14 kB / 1.05 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=58): time 2.585e-06/0.8555, allocations: 4 kB / 1.05 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58): time 0.003955/0.8595, allocations: 1.378 MB / 1.051 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.8596, allocations: 63.91 kB / 1.051 GB, free: 11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.8618, allocations: 1.576 MB / 1.053 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.8619, allocations: 45.69 kB / 1.053 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/0.8626, allocations: 0.8231 MB / 1.054 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.8629, allocations: 201 kB / 1.054 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.8629, allocations: 16 kB / 1.054 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8631, allocations: 341.9 kB / 1.054 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.8642, allocations: 393.7 kB / 1.055 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.8654, allocations: 0.7126 MB / 1.055 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.8666, allocations: 461.8 kB / 1.056 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.8666, allocations: 7.953 kB / 1.056 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00306/0.8697, allocations: 1.279 MB / 1.057 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001358/0.871, allocations: 3.358 MB / 1.06 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.8711, allocations: 12 kB / 1.06 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.8715, allocations: 80.8 kB / 1.06 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/0.8725, allocations: 239.6 kB / 1.061 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004842/0.873, allocations: 0.6263 MB / 1.061 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.8743, allocations: 115.9 kB / 1.061 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.8744, allocations: 67.95 kB / 1.061 GB, free: 180 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.8744, allocations: 5.719 kB / 1.061 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002628/0.8771, allocations: 1.146 MB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.8771, allocations: 16 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/0.8776, allocations: 129.1 kB / 1.063 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.8785, allocations: 227.7 kB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004216/0.8827, allocations: 2.669 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.8841, allocations: 123.8 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.8842, allocations: 59.97 kB / 1.066 GB, free: 11.59 MB / 0.8262 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.001088/0.8853, allocations: 488.7 kB / 1.066 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/0.8858, allocations: 177.8 kB / 1.066 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/0.8895, allocations: 1.334 MB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.8895, allocations: 8 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8895, allocations: 3.984 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.8895, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 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.006069/0.8956, allocations: 2.667 MB / 1.07 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.8956, allocations: 4 kB / 1.07 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007928/0.8964, allocations: 160 kB / 1.07 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.8967, allocations: 76.75 kB / 1.07 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.8968, allocations: 27.97 kB / 1.07 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004547/0.8973, allocations: 0.5992 MB / 1.071 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8973, allocations: 4 kB / 1.071 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.9005, allocations: 1.385 MB / 1.072 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.9015, allocations: 358.6 kB / 1.073 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003698/0.9019, allocations: 16 kB / 1.073 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.9031, allocations: 111.8 kB / 1.073 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.9032, allocations: 48.5 kB / 1.073 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.9033, allocations: 35.97 kB / 1.073 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00205/0.9054, allocations: 1.066 MB / 1.074 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9054, allocations: 0 / 1.074 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00358/0.909, allocations: 0.9512 MB / 1.075 GB, free: 1.754 MB / 0.8262 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.005185/0.9142, allocations: 2.933 MB / 1.078 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004419/0.9186, allocations: 1.697 MB / 1.079 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.9187, allocations: 4.125 kB / 1.079 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.9199, allocations: 483.4 kB / 1.08 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/0.9236, allocations: 0.7831 MB / 1.081 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.934, allocations: 9.845 MB / 1.09 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.9355, allocations: 1.424 MB / 1.092 GB, free: 248 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002342/0.9378, allocations: 483 kB / 1.092 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.939, allocations: 0.7296 MB / 1.093 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of SimCode: time 1.593e-06/0.939, allocations: 0 / 1.093 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08804/1.027, allocations: 51.25 MB / 1.143 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.027, allocations: 262.4 kB / 1.143 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/3.991, allocations: 2.812 kB / 1.143 GB, free: 12.09 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat does not exist to compare? outputFormat=mat