Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002195/0.002196, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.396/1.396, allocations: 133.6 MB / 141.6 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.699/2.699, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 99.89 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.834e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.84, allocations: 82.29 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.649/10.49, allocations: 1.88 GB / 2.514 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006026/10.49, allocations: 96.64 kB / 2.514 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.818/16.31, allocations: 0.7 GB / 3.215 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.28e-06/16.31, allocations: 0 / 3.215 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0009842/16.31, allocations: 46.47 kB / 3.215 GB, free: 118.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.02428/16.33, allocations: 2.544 MB / 3.217 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001106/16.33, allocations: 11.69 kB / 3.217 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/16.34, allocations: 0.4904 MB / 3.218 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/16.36, allocations: 2.787 MB / 3.22 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/16.36, allocations: 26.22 kB / 3.22 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/16.36, allocations: 95.41 kB / 3.22 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006001/16.37, allocations: 1.83 MB / 3.222 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/16.37, allocations: 1.54 MB / 3.224 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/16.37, allocations: 3.656 kB / 3.224 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/16.37, allocations: 3.5 kB / 3.224 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/16.37, allocations: 21.72 kB / 3.224 GB, free: 116.6 MB / 0.6823 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.03914/16.41, allocations: 8.823 MB / 3.232 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007183/16.42, allocations: 1.849 MB / 3.234 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/16.42, allocations: 0.8441 MB / 3.235 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/16.42, allocations: 0.5283 MB / 3.235 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.888e-05/16.42, allocations: 38.72 kB / 3.236 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 1.083e-05/16.42, allocations: 0 / 3.236 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.01842/16.44, allocations: 2.554 MB / 3.238 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/16.44, allocations: 58.03 kB / 3.238 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/16.46, allocations: 3.101 MB / 3.241 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.002697/16.46, allocations: 29.3 kB / 3.241 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004817/16.46, allocations: 0.8665 MB / 3.242 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/16.46, allocations: 237.4 kB / 3.242 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002169/16.47, allocations: 7.594 kB / 3.242 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0004866/16.47, allocations: 396.8 kB / 3.243 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009696/16.48, allocations: 2.704 MB / 3.245 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/16.49, allocations: 3.288 MB / 3.248 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/16.5, allocations: 2.754 MB / 3.251 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.432e-05/16.5, allocations: 0 / 3.251 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.03279/16.54, allocations: 6.072 MB / 3.257 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001035/16.54, allocations: 2.632 MB / 3.26 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/16.54, allocations: 6.969 kB / 3.26 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008372/16.54, allocations: 117.2 kB / 3.26 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007251/16.54, allocations: 0.502 MB / 3.26 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/16.55, allocations: 1.275 MB / 3.261 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00961/16.56, allocations: 391.4 kB / 3.262 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002749/16.56, allocations: 181.9 kB / 3.262 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/16.56, allocations: 6.594 kB / 3.262 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03074/16.59, allocations: 5.78 MB / 3.268 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-05/16.59, allocations: 11.67 kB / 3.268 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.27e-05/16.59, allocations: 14.22 kB / 3.268 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006995/16.6, allocations: 0.5032 MB / 3.268 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.656e-05/16.6, allocations: 23 kB / 3.268 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007049/16.6, allocations: 297 kB / 3.268 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001998/16.61, allocations: 184.6 kB / 3.269 GB, free: 106.7 MB / 0.6823 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: 29 * Number of states: 0 () * Number of discrete variables: 52 (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],vav.idx_sorted[1],vav.idx_sorted[2],vav.idx_sorted[3],vav.idx_sorted[4],vav.idx_sorted[5],vav.idx_sorted[6],vav.idx_sorted[7],vav.idx_sorted[8],vav.idx_sorted[9],vav.idx_sorted[10],vav.idx_sorted[11],vav.idx_sorted[12],vav.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 251 * Array equations: 4 * 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.002313/16.61, allocations: 187.2 kB / 3.269 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008955/16.62, allocations: 2.473 MB / 3.271 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/16.62, allocations: 200.7 kB / 3.271 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008899/16.63, allocations: 2.799 MB / 3.274 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/16.63, allocations: 11.8 kB / 3.274 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/16.63, allocations: 7.391 kB / 3.274 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/16.63, allocations: 3.844 kB / 3.274 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/16.65, allocations: 5.102 MB / 3.279 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/16.65, allocations: 3.844 kB / 3.279 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/16.65, allocations: 229.1 kB / 3.279 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/16.65, allocations: 123.4 kB / 3.28 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/16.65, allocations: 39.05 kB / 3.28 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/16.65, allocations: 1.279 MB / 3.281 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/16.65, allocations: 0 / 3.281 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/16.66, allocations: 2.955 MB / 3.284 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004695/16.67, allocations: 0.7371 MB / 3.284 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002622/16.67, allocations: 7.641 kB / 3.284 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005792/16.68, allocations: 110 kB / 3.285 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/16.68, allocations: 75.88 kB / 3.285 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005768/16.68, allocations: 112 kB / 3.285 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.009367/16.69, allocations: 2.302 MB / 3.287 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.346e-06/16.69, allocations: 0 / 3.287 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01793/16.7, allocations: 1.387 MB / 3.288 GB, free: 103.6 MB / 0.6823 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 (80): * Single equations (assignments): 78 * 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.02069/16.72, allocations: 5.636 MB / 3.294 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02753/16.75, allocations: 7.474 MB / 3.301 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.542e-05/16.75, allocations: 0 / 3.301 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002882/16.76, allocations: 0.8163 MB / 3.302 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007039/16.76, allocations: 428.8 kB / 3.302 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/16.78, allocations: 3.422 MB / 3.306 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/16.79, allocations: 1.562 MB / 3.307 GB, free: 99.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01813/16.8, allocations: 1.529 MB / 3.309 GB, free: 99.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005236/16.81, allocations: 0.8448 MB / 3.31 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of SimCode: time 3.377e-06/16.81, allocations: 0 / 3.31 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2158/17.03, allocations: 77.42 MB / 3.385 GB, free: 46.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004002/17.03, allocations: 152.8 kB / 3.385 GB, free: 46.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.063/26.09, allocations: 7 kB / 3.385 GB, free: 46.54 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)