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.459/2.459, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001114/0.001114, allocations: 174.5 kB / 492.3 MB, free: 0.6328 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.742/1.742, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009469/0.0009469, allocations: 87.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.324e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.972/6.276, allocations: 1.918 GB / 3.13 GB, free: 416.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/6.276, allocations: 93.69 kB / 3.13 GB, free: 416.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.033/8.309, allocations: 0.5886 GB / 3.719 GB, free: 252.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.764e-06/8.309, allocations: 0 / 3.719 GB, free: 252.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003197/8.31, allocations: 43.92 kB / 3.719 GB, free: 252.5 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.00728/8.317, allocations: 2.089 MB / 3.721 GB, free: 250.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/8.317, allocations: 12.03 kB / 3.721 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004016/8.317, allocations: 110.1 kB / 3.721 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/8.321, allocations: 401.2 kB / 3.721 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/8.327, allocations: 2.177 MB / 3.724 GB, free: 247.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/8.327, allocations: 89.31 kB / 3.724 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008802/8.328, allocations: 128 kB / 3.724 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/8.33, allocations: 1.276 MB / 3.725 GB, free: 246.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/8.331, allocations: 7.891 kB / 3.725 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/8.331, allocations: 32 kB / 3.725 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/8.331, allocations: 19.94 kB / 3.725 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/8.333, allocations: 1.461 MB / 3.727 GB, free: 244.5 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.01713/8.35, allocations: 7.039 MB / 3.733 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/8.352, allocations: 1.345 MB / 3.735 GB, free: 235.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009864/8.353, allocations: 0.6621 MB / 3.735 GB, free: 235.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/8.354, allocations: 446 kB / 3.736 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/8.354, allocations: 43.12 kB / 3.736 GB, free: 234.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.066e-06/8.354, allocations: 0 / 3.736 GB, free: 234.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.003834/8.358, allocations: 1.557 MB / 3.737 GB, free: 233.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/8.358, allocations: 55.97 kB / 3.737 GB, free: 233.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004165/8.362, allocations: 2.642 MB / 3.74 GB, free: 230.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0007684/8.363, allocations: 57.7 kB / 3.74 GB, free: 230.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/8.363, allocations: 0.7233 MB / 3.741 GB, free: 229.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/8.364, allocations: 189.2 kB / 3.741 GB, free: 229.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/8.364, allocations: 32 kB / 3.741 GB, free: 229.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000105/8.364, allocations: 381.9 kB / 3.741 GB, free: 229 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002644/8.367, allocations: 2.057 MB / 3.743 GB, free: 226.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/8.369, allocations: 2.539 MB / 3.746 GB, free: 224.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/8.372, allocations: 1.663 MB / 3.747 GB, free: 222.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/8.372, allocations: 4 kB / 3.747 GB, free: 222.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006816/8.378, allocations: 4.295 MB / 3.752 GB, free: 218.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004044/8.379, allocations: 2.077 MB / 3.754 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/8.379, allocations: 4 kB / 3.754 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/8.379, allocations: 160.7 kB / 3.754 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/8.382, allocations: 399.4 kB / 3.754 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007239/8.382, allocations: 1.209 MB / 3.755 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/8.386, allocations: 353.2 kB / 3.756 GB, free: 213.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003773/8.386, allocations: 140 kB / 3.756 GB, free: 213.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/8.386, allocations: 5.25 kB / 3.756 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005642/8.392, allocations: 4.087 MB / 3.76 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/8.392, allocations: 4 kB / 3.76 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/8.392, allocations: 12.62 kB / 3.76 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/8.394, allocations: 407.4 kB / 3.76 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/8.394, allocations: 12 kB / 3.76 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/8.397, allocations: 282.2 kB / 3.761 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003468/8.397, allocations: 136 kB / 3.761 GB, free: 208.7 MB / 1.151 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 () * 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.0005012/8.398, allocations: 206 kB / 3.761 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/8.398, allocations: 181.6 kB / 3.761 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/8.401, allocations: 1.787 MB / 3.763 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/8.401, allocations: 8 kB / 3.763 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/8.401, allocations: 4 kB / 3.763 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/8.401, allocations: 3.984 kB / 3.763 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005709/8.407, allocations: 3.695 MB / 3.766 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/8.407, allocations: 7.938 kB / 3.766 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/8.408, allocations: 180 kB / 3.767 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/8.408, allocations: 116.8 kB / 3.767 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/8.408, allocations: 47.97 kB / 3.767 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006145/8.409, allocations: 1.205 MB / 3.768 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/8.409, allocations: 8.094 kB / 3.768 GB, free: 201.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/8.411, allocations: 1.946 MB / 3.77 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/8.412, allocations: 0.5997 MB / 3.77 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/8.413, allocations: 12 kB / 3.77 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/8.414, allocations: 111.8 kB / 3.771 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/8.414, allocations: 52.42 kB / 3.771 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/8.414, allocations: 83.97 kB / 3.771 GB, free: 198.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002483/8.417, allocations: 2.002 MB / 3.773 GB, free: 196.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/8.417, allocations: 0 / 3.773 GB, free: 196.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003871/8.421, allocations: 1.206 MB / 3.774 GB, free: 195 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.004556/8.425, allocations: 4.357 MB / 3.778 GB, free: 190.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007864/8.433, allocations: 5.777 MB / 3.784 GB, free: 184.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/8.433, allocations: 0 / 3.784 GB, free: 184.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009564/8.434, allocations: 0.6477 MB / 3.784 GB, free: 184 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/8.437, allocations: 490.6 kB / 3.785 GB, free: 183.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/8.444, allocations: 2.807 MB / 3.788 GB, free: 180.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/8.445, allocations: 1.37 MB / 3.789 GB, free: 179.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005776/8.451, allocations: 1.246 MB / 3.79 GB, free: 178 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/8.452, allocations: 0.6476 MB / 3.791 GB, free: 177.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.353e-06/8.452, allocations: 0 / 3.791 GB, free: 177.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/8.574, allocations: 86.45 MB / 3.875 GB, free: 91.28 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/8.574, allocations: 217.6 kB / 3.875 GB, free: 91.05 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.005/13.58, allocations: 0 / 3.875 GB, free: 91.05 MB / 1.151 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