Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.298/2.298, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 187.1 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009294, allocations: 88 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.966e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2704, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.649/5.919, allocations: 1.918 GB / 3.13 GB, free: 344.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/5.92, allocations: 88.06 kB / 3.13 GB, free: 344.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.982/7.901, allocations: 0.5814 GB / 3.712 GB, free: 213.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 8.776e-06/7.901, allocations: 0 / 3.712 GB, free: 213.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003358/7.902, allocations: 39.69 kB / 3.712 GB, free: 213.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.008869/7.911, allocations: 2.089 MB / 3.714 GB, free: 211.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/7.911, allocations: 12.03 kB / 3.714 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/7.915, allocations: 403.9 kB / 3.714 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/7.92, allocations: 2.19 MB / 3.716 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/7.92, allocations: 23.94 kB / 3.716 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008203/7.921, allocations: 79.95 kB / 3.716 GB, free: 208.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002141/7.923, allocations: 1.396 MB / 3.718 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/7.925, allocations: 1.196 MB / 3.719 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/7.925, allocations: 0 / 3.719 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/7.925, allocations: 4 kB / 3.719 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/7.925, allocations: 16 kB / 3.719 GB, free: 205.9 MB / 1.151 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.01415/7.939, allocations: 6.833 MB / 3.726 GB, free: 198.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/7.942, allocations: 1.414 MB / 3.727 GB, free: 197.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/7.943, allocations: 0.6505 MB / 3.728 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000482/7.943, allocations: 453.9 kB / 3.728 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/7.943, allocations: 43.11 kB / 3.728 GB, free: 196.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.025e-06/7.943, allocations: 4 kB / 3.728 GB, free: 196.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.006019/7.949, allocations: 1.973 MB / 3.73 GB, free: 194.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/7.95, allocations: 63.97 kB / 3.73 GB, free: 194.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/7.954, allocations: 2.408 MB / 3.732 GB, free: 191.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008289/7.955, allocations: 29.7 kB / 3.733 GB, free: 191.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/7.956, allocations: 0.6992 MB / 3.733 GB, free: 191 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/7.956, allocations: 185.2 kB / 3.733 GB, free: 190.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/7.956, allocations: 0 / 3.733 GB, free: 190.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001265/7.956, allocations: 377.9 kB / 3.734 GB, free: 190.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/7.96, allocations: 2.038 MB / 3.736 GB, free: 188.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/7.963, allocations: 2.492 MB / 3.738 GB, free: 185.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005441/7.968, allocations: 2.088 MB / 3.74 GB, free: 183.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/7.969, allocations: 4 kB / 3.74 GB, free: 183.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01079/7.979, allocations: 4.602 MB / 3.745 GB, free: 179 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000434/7.98, allocations: 2.058 MB / 3.747 GB, free: 176.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/7.98, allocations: 8 kB / 3.747 GB, free: 176.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/7.98, allocations: 108.8 kB / 3.747 GB, free: 176.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/7.983, allocations: 387.5 kB / 3.747 GB, free: 176.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/7.984, allocations: 1.287 MB / 3.748 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/7.987, allocations: 297.5 kB / 3.749 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006607/7.988, allocations: 136 kB / 3.749 GB, free: 174.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/7.988, allocations: 4 kB / 3.749 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008616/7.997, allocations: 4.372 MB / 3.753 GB, free: 170.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/7.997, allocations: 8.188 kB / 3.753 GB, free: 170.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/7.997, allocations: 12 kB / 3.753 GB, free: 170.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/7.999, allocations: 391.5 kB / 3.754 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/7.999, allocations: 23.92 kB / 3.754 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/8.002, allocations: 230.5 kB / 3.754 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/8.003, allocations: 140 kB / 3.754 GB, free: 169.4 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009227/8.004, allocations: 183 kB / 3.754 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005272/8.009, allocations: 1.895 MB / 3.756 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/8.01, allocations: 157.8 kB / 3.756 GB, free: 167.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005015/8.015, allocations: 2.145 MB / 3.758 GB, free: 165 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/8.015, allocations: 8 kB / 3.758 GB, free: 165 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/8.015, allocations: 0 / 3.758 GB, free: 165 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/8.015, allocations: 7.938 kB / 3.758 GB, free: 165 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009383/8.024, allocations: 4.005 MB / 3.762 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/8.024, allocations: 4.031 kB / 3.762 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/8.025, allocations: 179.8 kB / 3.762 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/8.026, allocations: 120.8 kB / 3.762 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/8.026, allocations: 31.97 kB / 3.762 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/8.027, allocations: 1.278 MB / 3.764 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/8.027, allocations: 4.031 kB / 3.764 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/8.032, allocations: 2.333 MB / 3.766 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/8.033, allocations: 0.5843 MB / 3.767 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008583/8.034, allocations: 4 kB / 3.767 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/8.036, allocations: 99.72 kB / 3.767 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/8.036, allocations: 44.5 kB / 3.767 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/8.037, allocations: 87.95 kB / 3.767 GB, free: 155.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002996/8.04, allocations: 1.79 MB / 3.769 GB, free: 154.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.21e-07/8.04, allocations: 0 / 3.769 GB, free: 154.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00569/8.045, allocations: 1.124 MB / 3.77 GB, free: 153 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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: 1 * 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008516/8.054, allocations: 4.906 MB / 3.774 GB, free: 148 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009307/8.063, allocations: 5.657 MB / 3.78 GB, free: 142.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/8.063, allocations: 0 / 3.78 GB, free: 142.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/8.064, allocations: 0.6435 MB / 3.781 GB, free: 141.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/8.067, allocations: 345.1 kB / 3.781 GB, free: 141.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/8.074, allocations: 2.685 MB / 3.783 GB, free: 138.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008907/8.075, allocations: 1.372 MB / 3.785 GB, free: 137.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006576/8.081, allocations: 1.177 MB / 3.786 GB, free: 136 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/8.083, allocations: 0.6437 MB / 3.787 GB, free: 135.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.924e-06/8.083, allocations: 0 / 3.787 GB, free: 135.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09851/8.182, allocations: 62.42 MB / 3.848 GB, free: 73.12 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/8.182, allocations: 180.7 kB / 3.848 GB, free: 72.93 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.217/12.4, allocations: 0 / 3.848 GB, free: 72.93 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat does not exist to compare? outputFormat=mat