Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002192/0.002193, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003105/0.003105, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.769/2.769, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.102/5.102, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007913/0.0007916, allocations: 12 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751/1.752, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.3497/2.102, allocations: 153.4 MB / 1.131 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02378/2.126, allocations: 8.982 MB / 1.139 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/2.129, allocations: 23.81 kB / 1.139 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002835/2.132, allocations: 401.9 kB / 1.14 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00905/2.141, allocations: 1.355 MB / 1.141 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007045/2.148, allocations: 1.216 MB / 1.142 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00546/2.154, allocations: 1.525 MB / 1.144 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/2.157, allocations: 0.8785 MB / 1.145 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004743/2.162, allocations: 1.083 MB / 1.146 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/2.165, allocations: 1.005 MB / 1.147 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009984/2.166, allocations: 84 kB / 1.147 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005002/2.171, allocations: 1.151 MB / 1.148 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/2.173, allocations: 474.6 kB / 1.148 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/2.174, allocations: 268.9 kB / 1.149 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006167/2.18, allocations: 1.917 MB / 1.151 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/2.18, allocations: 4 kB / 1.151 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.568e-06/2.18, allocations: 0 / 1.151 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001172/2.181, allocations: 0 / 1.151 GB, free: 8.125 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.01016/2.191, allocations: 1.941 MB / 1.152 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001005/2.191, allocations: 8.031 kB / 1.152 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007047/2.192, allocations: 114.5 kB / 1.153 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/2.195, allocations: 233.9 kB / 1.153 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006256/2.201, allocations: 1.341 MB / 1.154 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/2.201, allocations: 65.98 kB / 1.154 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006975/2.202, allocations: 88 kB / 1.154 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/2.206, allocations: 1.006 MB / 1.155 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/2.206, allocations: 7.938 kB / 1.155 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/2.206, allocations: 24 kB / 1.155 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/2.206, allocations: 20 kB / 1.155 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/2.21, allocations: 0.9145 MB / 1.156 GB, free: 2.191 MB / 0.9044 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.01662/2.226, allocations: 4.768 MB / 1.161 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/2.23, allocations: 0.7828 MB / 1.162 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/2.23, allocations: 102.4 kB / 1.162 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/2.23, allocations: 42.94 kB / 1.162 GB, free: 12.24 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 5.2e-06/2.23, allocations: 0 / 1.162 GB, free: 12.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.008721/2.239, allocations: 1.62 MB / 1.163 GB, free: 10.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/2.239, allocations: 59.84 kB / 1.163 GB, free: 10.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005952/2.245, allocations: 1.824 MB / 1.165 GB, free: 8.684 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006097/2.246, allocations: 45.7 kB / 1.165 GB, free: 8.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/2.247, allocations: 0.5755 MB / 1.166 GB, free: 8.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004985/2.248, allocations: 177.4 kB / 1.166 GB, free: 7.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/2.248, allocations: 12 kB / 1.166 GB, free: 7.863 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000379/2.248, allocations: 349.9 kB / 1.166 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/2.252, allocations: 0.9584 MB / 1.167 GB, free: 6.559 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/2.255, allocations: 1.302 MB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/2.258, allocations: 0.8535 MB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/2.258, allocations: 0 / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007861/2.266, allocations: 2.2 MB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001555/2.268, allocations: 1.864 MB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.767e-05/2.268, allocations: 4 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/2.269, allocations: 164.7 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/2.271, allocations: 171.8 kB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/2.273, allocations: 1.322 MB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/2.276, allocations: 236.1 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/2.277, allocations: 31.95 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/2.277, allocations: 4.781 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006944/2.284, allocations: 1.973 MB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-05/2.284, allocations: 8 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/2.284, allocations: 8 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/2.286, allocations: 192 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/2.286, allocations: 8 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/2.289, allocations: 208.1 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/2.29, allocations: 31.98 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001593/2.291, allocations: 396.7 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/2.293, allocations: 134.3 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/2.297, allocations: 1.041 MB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/2.297, allocations: 12 kB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/2.297, allocations: 0 / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/2.297, allocations: 0 / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008968/2.306, allocations: 2.277 MB / 1.181 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/2.306, allocations: 4 kB / 1.181 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009088/2.307, allocations: 120.1 kB / 1.181 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/2.309, allocations: 148.8 kB / 1.182 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/2.309, allocations: 15.98 kB / 1.182 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/2.311, allocations: 1.314 MB / 1.183 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/2.311, allocations: 0 / 1.183 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/2.316, allocations: 1.742 MB / 1.185 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/2.318, allocations: 331 kB / 1.185 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007812/2.319, allocations: 12 kB / 1.185 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/2.321, allocations: 91.89 kB / 1.185 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/2.321, allocations: 44.38 kB / 1.185 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/2.321, allocations: 24 kB / 1.185 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.004735/2.326, allocations: 1.297 MB / 1.186 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.523e-06/2.326, allocations: 0 / 1.186 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.006694/2.333, allocations: 0.6787 MB / 1.187 GB, free: 1.758 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * 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 (44): * Single equations (assignments): 42 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.009457/2.342, allocations: 2.993 MB / 1.19 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0102/2.353, allocations: 2.784 MB / 1.193 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/2.353, allocations: 4 kB / 1.193 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/2.354, allocations: 454.7 kB / 1.193 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004495/2.359, allocations: 453.4 kB / 1.193 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/2.373, allocations: 6.527 MB / 1.2 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/2.374, allocations: 1.186 MB / 1.201 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003781/2.378, allocations: 377.1 kB / 1.201 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/2.38, allocations: 0.4954 MB / 1.202 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of SimCode: time 2.124e-06/2.38, allocations: 0 / 1.202 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/2.56, allocations: 38.82 MB / 1.24 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005173/2.561, allocations: 272 kB / 1.24 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.952/8.513, allocations: 6.25 kB / 1.24 GB, free: 11.57 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat does not exist to compare? outputFormat=mat