Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001721/0.001721, allocations: 173.1 kB / 498.1 MB, free: 5.746 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.506/1.506, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001056/0.001056, allocations: 99.58 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 7.984 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3036, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.748/5.052, allocations: 1.918 GB / 3.141 GB, free: 95.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/5.053, allocations: 96.78 kB / 3.141 GB, free: 95.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.767/7.819, allocations: 0.5891 GB / 3.73 GB, free: 303.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.007e-06/7.82, allocations: 0 / 3.73 GB, free: 303.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001374/7.82, allocations: 36 kB / 3.73 GB, free: 303.3 MB / 1.167 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.01034/7.83, allocations: 2.795 MB / 3.733 GB, free: 302.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/7.83, allocations: 11.56 kB / 3.733 GB, free: 302.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004344/7.831, allocations: 108.5 kB / 3.733 GB, free: 302.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/7.835, allocations: 400.2 kB / 3.733 GB, free: 302.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/7.841, allocations: 2.234 MB / 3.735 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/7.841, allocations: 89 kB / 3.735 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005322/7.842, allocations: 129.6 kB / 3.736 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/7.844, allocations: 1.355 MB / 3.737 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/7.844, allocations: 0 / 3.737 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/7.844, allocations: 29.28 kB / 3.737 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/7.844, allocations: 18.81 kB / 3.737 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/7.847, allocations: 1.601 MB / 3.738 GB, free: 301.8 MB / 1.167 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.01639/7.863, allocations: 7.042 MB / 3.745 GB, free: 299.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/7.867, allocations: 1.452 MB / 3.747 GB, free: 299.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/7.867, allocations: 446.9 kB / 3.747 GB, free: 299 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/7.868, allocations: 37.28 kB / 3.747 GB, free: 298.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 3.887e-06/7.868, allocations: 0 / 3.747 GB, free: 298.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.006762/7.874, allocations: 2.511 MB / 3.75 GB, free: 298.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/7.874, allocations: 59.62 kB / 3.75 GB, free: 298.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/7.879, allocations: 2.693 MB / 3.752 GB, free: 298.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009356/7.88, allocations: 61.08 kB / 3.752 GB, free: 298.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/7.881, allocations: 0.7088 MB / 3.753 GB, free: 298.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/7.881, allocations: 195.2 kB / 3.753 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/7.881, allocations: 31.91 kB / 3.753 GB, free: 298.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000125/7.881, allocations: 377.1 kB / 3.754 GB, free: 297.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/7.885, allocations: 2.146 MB / 3.756 GB, free: 297.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/7.889, allocations: 2.621 MB / 3.758 GB, free: 297.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/7.892, allocations: 1.747 MB / 3.76 GB, free: 297.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/7.892, allocations: 3.953 kB / 3.76 GB, free: 297.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01002/7.903, allocations: 4.459 MB / 3.764 GB, free: 297.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00071/7.903, allocations: 2.072 MB / 3.766 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/7.903, allocations: 3.906 kB / 3.766 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007198/7.904, allocations: 160.9 kB / 3.767 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/7.907, allocations: 401.5 kB / 3.767 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008857/7.907, allocations: 1.228 MB / 3.768 GB, free: 293.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/7.911, allocations: 358.4 kB / 3.769 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/7.912, allocations: 134.1 kB / 3.769 GB, free: 293.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/7.912, allocations: 4.844 kB / 3.769 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007548/7.919, allocations: 4.244 MB / 3.773 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/7.919, allocations: 3.688 kB / 3.773 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/7.919, allocations: 15.31 kB / 3.773 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/7.921, allocations: 400.3 kB / 3.773 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/7.922, allocations: 14.66 kB / 3.773 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/7.925, allocations: 273.1 kB / 3.773 GB, free: 293.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/7.925, allocations: 141 kB / 3.774 GB, free: 293.6 MB / 1.167 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 191 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.001321/7.927, allocations: 0.5232 MB / 3.774 GB, free: 293.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008385/7.927, allocations: 170.8 kB / 3.774 GB, free: 293.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/7.931, allocations: 1.908 MB / 3.776 GB, free: 293.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/7.931, allocations: 10.38 kB / 3.776 GB, free: 293.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/7.931, allocations: 0 / 3.776 GB, free: 293.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/7.931, allocations: 6.531 kB / 3.776 GB, free: 293.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007515/7.939, allocations: 3.832 MB / 3.78 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/7.939, allocations: 3.969 kB / 3.78 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/7.939, allocations: 178.5 kB / 3.78 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004168/7.94, allocations: 144.9 kB / 3.78 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/7.94, allocations: 39.78 kB / 3.78 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000709/7.941, allocations: 1.222 MB / 3.781 GB, free: 291.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/7.941, allocations: 3.906 kB / 3.781 GB, free: 291.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/7.945, allocations: 2.075 MB / 3.783 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/7.946, allocations: 0.6072 MB / 3.784 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/7.947, allocations: 17 kB / 3.784 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/7.949, allocations: 94.69 kB / 3.784 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/7.949, allocations: 52.89 kB / 3.784 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/7.949, allocations: 86.7 kB / 3.784 GB, free: 290.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003093/7.952, allocations: 2.052 MB / 3.786 GB, free: 290.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/7.952, allocations: 0 / 3.786 GB, free: 290.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005318/7.957, allocations: 1.211 MB / 3.787 GB, free: 290.7 MB / 1.167 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 () * Number of clocked 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.006027/7.963, allocations: 4.476 MB / 3.792 GB, free: 288.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01264/7.976, allocations: 5.944 MB / 3.798 GB, free: 288.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/7.976, allocations: 0 / 3.798 GB, free: 288.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/7.978, allocations: 0.7145 MB / 3.798 GB, free: 288.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/7.981, allocations: 488.4 kB / 3.799 GB, free: 288.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00907/7.99, allocations: 7.759 MB / 3.806 GB, free: 283.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/7.991, allocations: 1.369 MB / 3.808 GB, free: 282.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005303/7.996, allocations: 0.8701 MB / 3.809 GB, free: 282.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002275/7.998, allocations: 0.7012 MB / 3.809 GB, free: 282.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.333e-06/7.998, allocations: 0 / 3.809 GB, free: 282.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/8.129, allocations: 80.6 MB / 3.888 GB, free: 241.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/8.129, allocations: 240.3 kB / 3.888 GB, free: 241 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.14/12.27, allocations: 3.75 kB / 3.888 GB, free: 241 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat does not exist to compare? outputFormat=mat