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.345/2.345, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001103/0.001104, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.515/1.515, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009157, allocations: 99.78 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.129e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3033, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.448/5.751, allocations: 1.917 GB / 3.123 GB, free: 432.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/5.751, allocations: 95.59 kB / 3.123 GB, free: 432.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.858/7.609, allocations: 0.5814 GB / 3.705 GB, free: 279.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.753e-06/7.609, allocations: 3.938 kB / 3.705 GB, free: 279.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000123/7.61, allocations: 38.89 kB / 3.705 GB, free: 279.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.006618/7.616, allocations: 2.088 MB / 3.707 GB, free: 277.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/7.616, allocations: 11.97 kB / 3.707 GB, free: 277.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/7.62, allocations: 404.1 kB / 3.707 GB, free: 276.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/7.624, allocations: 2.181 MB / 3.709 GB, free: 274.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/7.624, allocations: 26.94 kB / 3.709 GB, free: 274.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004182/7.625, allocations: 75.94 kB / 3.709 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001875/7.627, allocations: 1.396 MB / 3.711 GB, free: 273.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/7.628, allocations: 1.191 MB / 3.712 GB, free: 272 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/7.628, allocations: 11.94 kB / 3.712 GB, free: 271.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/7.628, allocations: 3.609 kB / 3.712 GB, free: 271.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/7.628, allocations: 20 kB / 3.712 GB, free: 271.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.01306/7.641, allocations: 6.825 MB / 3.719 GB, free: 265 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/7.644, allocations: 1.417 MB / 3.72 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007342/7.645, allocations: 0.6466 MB / 3.721 GB, free: 262.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/7.645, allocations: 460.7 kB / 3.721 GB, free: 262.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/7.645, allocations: 35.12 kB / 3.721 GB, free: 262.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.437e-06/7.645, allocations: 0 / 3.721 GB, free: 262.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.006166/7.651, allocations: 1.993 MB / 3.723 GB, free: 260.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/7.652, allocations: 55.97 kB / 3.723 GB, free: 260.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/7.655, allocations: 2.405 MB / 3.725 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009819/7.656, allocations: 29.7 kB / 3.725 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007995/7.657, allocations: 0.6953 MB / 3.726 GB, free: 257.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/7.657, allocations: 185.2 kB / 3.726 GB, free: 256.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/7.657, allocations: 0 / 3.726 GB, free: 256.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001232/7.658, allocations: 377.9 kB / 3.727 GB, free: 256.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/7.66, allocations: 2.038 MB / 3.729 GB, free: 254.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/7.663, allocations: 2.5 MB / 3.731 GB, free: 251.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/7.667, allocations: 2.072 MB / 3.733 GB, free: 249.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/7.667, allocations: 4 kB / 3.733 GB, free: 249.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008949/7.676, allocations: 4.61 MB / 3.738 GB, free: 245.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004167/7.676, allocations: 2.069 MB / 3.74 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/7.676, allocations: 4 kB / 3.74 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/7.677, allocations: 104.8 kB / 3.74 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/7.679, allocations: 391.5 kB / 3.74 GB, free: 242.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/7.68, allocations: 1.271 MB / 3.741 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/7.684, allocations: 309.5 kB / 3.742 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004151/7.684, allocations: 136 kB / 3.742 GB, free: 240.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/7.684, allocations: 4 kB / 3.742 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007599/7.692, allocations: 4.375 MB / 3.746 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/7.692, allocations: 7.984 kB / 3.746 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/7.692, allocations: 12 kB / 3.746 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/7.694, allocations: 400.1 kB / 3.746 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/7.694, allocations: 15.94 kB / 3.746 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/7.697, allocations: 230.5 kB / 3.747 GB, free: 235.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/7.697, allocations: 136 kB / 3.747 GB, free: 235.5 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.0005739/7.698, allocations: 181.7 kB / 3.747 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004944/7.703, allocations: 1.895 MB / 3.749 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/7.703, allocations: 161.7 kB / 3.749 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/7.708, allocations: 2.14 MB / 3.751 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/7.708, allocations: 8 kB / 3.751 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/7.708, allocations: 0 / 3.751 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/7.708, allocations: 7.984 kB / 3.751 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007575/7.715, allocations: 4.004 MB / 3.755 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/7.715, allocations: 7.938 kB / 3.755 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/7.716, allocations: 184 kB / 3.755 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003321/7.717, allocations: 120.6 kB / 3.755 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/7.717, allocations: 31.98 kB / 3.755 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009504/7.718, allocations: 1.275 MB / 3.757 GB, free: 225.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/7.718, allocations: 12 kB / 3.757 GB, free: 225.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/7.723, allocations: 2.321 MB / 3.759 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/7.724, allocations: 0.5843 MB / 3.759 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/7.724, allocations: 11.94 kB / 3.759 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/7.726, allocations: 91.78 kB / 3.759 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/7.726, allocations: 56.44 kB / 3.76 GB, free: 222.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/7.726, allocations: 83.97 kB / 3.76 GB, free: 222 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002292/7.728, allocations: 1.798 MB / 3.761 GB, free: 220.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/7.728, allocations: 0 / 3.761 GB, free: 220.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004991/7.733, allocations: 1.122 MB / 3.762 GB, free: 219.1 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.007351/7.741, allocations: 4.896 MB / 3.767 GB, free: 214.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008635/7.749, allocations: 5.657 MB / 3.773 GB, free: 208.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/7.749, allocations: 3.938 kB / 3.773 GB, free: 208.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009023/7.75, allocations: 0.644 MB / 3.773 GB, free: 208 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/7.753, allocations: 347 kB / 3.774 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/7.76, allocations: 2.684 MB / 3.776 GB, free: 204.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/7.761, allocations: 1.374 MB / 3.778 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006212/7.767, allocations: 1.171 MB / 3.779 GB, free: 202.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/7.768, allocations: 0.6398 MB / 3.779 GB, free: 201.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/7.768, allocations: 7.938 kB / 3.779 GB, free: 201.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/7.872, allocations: 62.43 MB / 3.84 GB, free: 139.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/7.873, allocations: 164.3 kB / 3.841 GB, free: 139.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.366/12.24, allocations: 0 / 3.841 GB, free: 139.2 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