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.635/2.635, allocations: 393.5 MB / 408.4 MB, free: 11 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.001181/0.00118, allocations: 183.9 kB / 0.4901 GB, free: 2.223 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.697/1.697, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009495/0.0009497, allocations: 100.1 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004153, allocations: 9.406 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.351, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.001/5.352, allocations: 1.919 GB / 3.148 GB, free: 42.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/5.352, allocations: 95.94 kB / 3.148 GB, free: 42.09 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.792/8.144, allocations: 0.5891 GB / 3.737 GB, free: 295.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.605e-06/8.144, allocations: 0 / 3.737 GB, free: 295.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001261/8.144, allocations: 38.03 kB / 3.737 GB, free: 295.7 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.009668/8.154, allocations: 2.803 MB / 3.74 GB, free: 294.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/8.154, allocations: 7.719 kB / 3.74 GB, free: 294.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003577/8.154, allocations: 109.4 kB / 3.74 GB, free: 294.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/8.158, allocations: 403.3 kB / 3.74 GB, free: 294.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006003/8.164, allocations: 2.226 MB / 3.742 GB, free: 294.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/8.164, allocations: 87.5 kB / 3.743 GB, free: 294.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004909/8.165, allocations: 127.3 kB / 3.743 GB, free: 294.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/8.167, allocations: 1.362 MB / 3.744 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/8.167, allocations: 0 / 3.744 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/8.167, allocations: 26.72 kB / 3.744 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/8.167, allocations: 18.16 kB / 3.744 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/8.17, allocations: 1.597 MB / 3.746 GB, free: 294.1 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.01544/8.185, allocations: 7.052 MB / 3.752 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/8.188, allocations: 1.442 MB / 3.754 GB, free: 291.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/8.189, allocations: 450.6 kB / 3.754 GB, free: 291.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/8.189, allocations: 38.94 kB / 3.754 GB, free: 291.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.965e-06/8.189, allocations: 0 / 3.754 GB, free: 291.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.006154/8.195, allocations: 2.508 MB / 3.757 GB, free: 291 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/8.195, allocations: 61.22 kB / 3.757 GB, free: 290.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/8.2, allocations: 2.694 MB / 3.759 GB, free: 290.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009732/8.201, allocations: 61.58 kB / 3.76 GB, free: 290.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001355/8.203, allocations: 0.7021 MB / 3.76 GB, free: 290.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/8.203, allocations: 187.7 kB / 3.76 GB, free: 290.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008168/8.204, allocations: 31.59 kB / 3.76 GB, free: 290.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002982/8.204, allocations: 388.1 kB / 3.761 GB, free: 290 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/8.21, allocations: 2.141 MB / 3.763 GB, free: 290 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006167/8.216, allocations: 2.626 MB / 3.765 GB, free: 289.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005353/8.222, allocations: 1.736 MB / 3.767 GB, free: 289.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-05/8.222, allocations: 3.875 kB / 3.767 GB, free: 289.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01319/8.235, allocations: 4.457 MB / 3.772 GB, free: 289.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006738/8.236, allocations: 2.077 MB / 3.774 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/8.236, allocations: 3.312 kB / 3.774 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007202/8.236, allocations: 155.8 kB / 3.774 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/8.239, allocations: 402.6 kB / 3.774 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009586/8.24, allocations: 1.227 MB / 3.775 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003899/8.244, allocations: 345.5 kB / 3.776 GB, free: 285.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006532/8.245, allocations: 141.7 kB / 3.776 GB, free: 285.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/8.245, allocations: 2.594 kB / 3.776 GB, free: 285.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009136/8.254, allocations: 4.241 MB / 3.78 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/8.254, allocations: 6.562 kB / 3.78 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/8.254, allocations: 14.72 kB / 3.78 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/8.256, allocations: 400.5 kB / 3.78 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-05/8.256, allocations: 21.34 kB / 3.78 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/8.26, allocations: 276.2 kB / 3.781 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004934/8.261, allocations: 151.5 kB / 3.781 GB, free: 285.8 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.001657/8.262, allocations: 0.5141 MB / 3.781 GB, free: 285.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/8.263, allocations: 173.3 kB / 3.781 GB, free: 285.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/8.268, allocations: 1.908 MB / 3.783 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/8.268, allocations: 7.594 kB / 3.783 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/8.268, allocations: 3.844 kB / 3.783 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/8.268, allocations: 11.16 kB / 3.783 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009505/8.277, allocations: 3.828 MB / 3.787 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/8.277, allocations: 3.938 kB / 3.787 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009405/8.278, allocations: 190.2 kB / 3.787 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/8.279, allocations: 129.6 kB / 3.787 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/8.279, allocations: 40.12 kB / 3.787 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008501/8.28, allocations: 1.227 MB / 3.789 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/8.28, allocations: 3.219 kB / 3.789 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/8.284, allocations: 2.076 MB / 3.791 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/8.287, allocations: 0.6002 MB / 3.791 GB, free: 283 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001119/8.288, allocations: 16.81 kB / 3.791 GB, free: 283 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/8.29, allocations: 105.7 kB / 3.791 GB, free: 283 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/8.29, allocations: 46.75 kB / 3.791 GB, free: 283 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/8.291, allocations: 90.64 kB / 3.791 GB, free: 283 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004503/8.295, allocations: 2.052 MB / 3.793 GB, free: 282.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/8.295, allocations: 3.594 kB / 3.793 GB, free: 282.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007246/8.302, allocations: 1.202 MB / 3.795 GB, free: 281.9 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.008409/8.311, allocations: 4.492 MB / 3.799 GB, free: 279.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01283/8.324, allocations: 5.937 MB / 3.805 GB, free: 278 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/8.324, allocations: 0 / 3.805 GB, free: 278 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/8.325, allocations: 0.7097 MB / 3.805 GB, free: 277.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/8.329, allocations: 485.7 kB / 3.806 GB, free: 277.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/8.341, allocations: 7.762 MB / 3.814 GB, free: 272 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/8.342, allocations: 1.363 MB / 3.815 GB, free: 271.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005591/8.348, allocations: 0.8844 MB / 3.816 GB, free: 271.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002582/8.351, allocations: 0.7016 MB / 3.816 GB, free: 270.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.034e-06/8.351, allocations: 0 / 3.816 GB, free: 270.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/8.482, allocations: 80.6 MB / 3.895 GB, free: 193.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/8.482, allocations: 255 kB / 3.895 GB, free: 193.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.411/12.89, allocations: 0 / 3.895 GB, free: 193.5 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