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.293/2.293, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001051/0.001051, allocations: 188.7 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0008894/0.0008894, allocations: 95.94 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.315e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2801, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.864/6.144, allocations: 1.919 GB / 3.137 GB, free: 340.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003913/6.145, allocations: 94.59 kB / 3.137 GB, free: 340.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.911/8.055, allocations: 0.5886 GB / 3.726 GB, free: 206 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.014e-06/8.055, allocations: 0 / 3.726 GB, free: 206 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003149/8.056, allocations: 35.98 kB / 3.726 GB, free: 206 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.00937/8.065, allocations: 2.096 MB / 3.728 GB, free: 203.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/8.065, allocations: 8.031 kB / 3.728 GB, free: 203.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005055/8.066, allocations: 110.5 kB / 3.728 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/8.07, allocations: 405.1 kB / 3.729 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005937/8.076, allocations: 2.185 MB / 3.731 GB, free: 201.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/8.076, allocations: 93.25 kB / 3.731 GB, free: 201 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009647/8.077, allocations: 120 kB / 3.731 GB, free: 200.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/8.079, allocations: 1.292 MB / 3.732 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/8.079, allocations: 0 / 3.732 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/8.079, allocations: 31.98 kB / 3.732 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/8.079, allocations: 16 kB / 3.732 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/8.081, allocations: 1.461 MB / 3.734 GB, free: 198 MB / 1.167 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.01453/8.096, allocations: 7.05 MB / 3.741 GB, free: 190.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/8.098, allocations: 1.341 MB / 3.742 GB, free: 189.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/8.099, allocations: 0.6574 MB / 3.743 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000417/8.099, allocations: 454 kB / 3.743 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/8.099, allocations: 35.12 kB / 3.743 GB, free: 188.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.815e-06/8.099, allocations: 4 kB / 3.743 GB, free: 188.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.00372/8.103, allocations: 1.56 MB / 3.745 GB, free: 186.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/8.103, allocations: 55.97 kB / 3.745 GB, free: 186.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004449/8.108, allocations: 2.642 MB / 3.747 GB, free: 183.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008028/8.108, allocations: 61.7 kB / 3.747 GB, free: 183.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/8.11, allocations: 0.7003 MB / 3.748 GB, free: 183.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/8.11, allocations: 189.2 kB / 3.748 GB, free: 182.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005399/8.11, allocations: 32 kB / 3.748 GB, free: 182.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001258/8.11, allocations: 389.8 kB / 3.748 GB, free: 182.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002994/8.113, allocations: 2.065 MB / 3.75 GB, free: 180.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/8.117, allocations: 2.535 MB / 3.753 GB, free: 177.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/8.119, allocations: 1.663 MB / 3.755 GB, free: 176 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/8.119, allocations: 4 kB / 3.755 GB, free: 176 MB / 1.167 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007937/8.127, allocations: 4.294 MB / 3.759 GB, free: 171.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003854/8.128, allocations: 2.075 MB / 3.761 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/8.128, allocations: 4 kB / 3.761 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/8.128, allocations: 144.7 kB / 3.761 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/8.131, allocations: 399.5 kB / 3.761 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008048/8.131, allocations: 1.212 MB / 3.763 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/8.135, allocations: 353.3 kB / 3.763 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005105/8.135, allocations: 140 kB / 3.763 GB, free: 167.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/8.135, allocations: 4 kB / 3.763 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006181/8.142, allocations: 4.095 MB / 3.767 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/8.142, allocations: 8 kB / 3.767 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/8.142, allocations: 12 kB / 3.767 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/8.144, allocations: 399.8 kB / 3.767 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/8.144, allocations: 19.92 kB / 3.767 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/8.147, allocations: 278.2 kB / 3.768 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/8.147, allocations: 140 kB / 3.768 GB, free: 162.2 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 () * 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.0005481/8.148, allocations: 209.8 kB / 3.768 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007941/8.149, allocations: 169.7 kB / 3.768 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/8.152, allocations: 1.787 MB / 3.77 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/8.152, allocations: 7.938 kB / 3.77 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/8.152, allocations: 0 / 3.77 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/8.152, allocations: 7.922 kB / 3.77 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006986/8.159, allocations: 3.699 MB / 3.774 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/8.159, allocations: 0 / 3.774 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/8.159, allocations: 179.8 kB / 3.774 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003621/8.16, allocations: 136.8 kB / 3.774 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.933e-05/8.16, allocations: 39.97 kB / 3.774 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006234/8.161, allocations: 1.213 MB / 3.775 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/8.161, allocations: 0 / 3.775 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/8.163, allocations: 1.946 MB / 3.777 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/8.165, allocations: 0.5997 MB / 3.778 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007074/8.166, allocations: 12 kB / 3.778 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/8.168, allocations: 103.9 kB / 3.778 GB, free: 151.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/8.168, allocations: 48.44 kB / 3.778 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/8.168, allocations: 87.95 kB / 3.778 GB, free: 151.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003175/8.171, allocations: 1.994 MB / 3.78 GB, free: 149.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/8.171, allocations: 0 / 3.78 GB, free: 149.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005463/8.177, allocations: 1.218 MB / 3.781 GB, free: 148.4 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 () * 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.005635/8.182, allocations: 4.345 MB / 3.785 GB, free: 143.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009424/8.192, allocations: 5.776 MB / 3.791 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/8.192, allocations: 4 kB / 3.791 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/8.193, allocations: 0.6527 MB / 3.791 GB, free: 137.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/8.196, allocations: 490.4 kB / 3.792 GB, free: 137 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/8.203, allocations: 2.794 MB / 3.795 GB, free: 134.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008872/8.204, allocations: 1.371 MB / 3.796 GB, free: 132.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006957/8.211, allocations: 1.237 MB / 3.797 GB, free: 131.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/8.213, allocations: 0.6476 MB / 3.798 GB, free: 130.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/8.213, allocations: 0 / 3.798 GB, free: 130.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/8.345, allocations: 86.48 MB / 3.882 GB, free: 44.75 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/8.345, allocations: 223.1 kB / 3.882 GB, free: 44.53 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.726/13.07, allocations: 3.938 kB / 3.882 GB, free: 44.52 MB / 1.167 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