Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.697/0.697, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 171.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 404.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009656/0.0009657, allocations: 90.16 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.73e-05, allocations: 0 / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 76.77 MB / 0.6283 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.864/5.006, allocations: 2.158 GB / 2.786 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/5.007, allocations: 96.44 kB / 2.786 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.917/6.924, allocations: 0.5573 GB / 3.344 GB, free: 62.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/6.924, allocations: 0 / 3.344 GB, free: 62.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.225e-05/6.924, allocations: 31.98 kB / 3.344 GB, free: 62.38 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002407/6.926, allocations: 1.206 MB / 3.345 GB, free: 61.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/6.926, allocations: 12.03 kB / 3.345 GB, free: 61.11 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/6.926, allocations: 102.5 kB / 3.345 GB, free: 61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/6.929, allocations: 403 kB / 3.345 GB, free: 60.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/6.93, allocations: 0.6712 MB / 3.346 GB, free: 59.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/6.93, allocations: 49.31 kB / 3.346 GB, free: 59.85 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/6.93, allocations: 60 kB / 3.346 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/6.934, allocations: 1.16 MB / 3.347 GB, free: 58.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/6.934, allocations: 3.938 kB / 3.347 GB, free: 58.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/6.934, allocations: 28 kB / 3.347 GB, free: 58.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/6.934, allocations: 23.95 kB / 3.347 GB, free: 58.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/6.938, allocations: 0.9405 MB / 3.348 GB, free: 57.56 MB / 0.6511 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.00438/6.942, allocations: 3.807 MB / 3.352 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/6.945, allocations: 0.7563 MB / 3.353 GB, free: 52.81 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/6.946, allocations: 196.8 kB / 3.353 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/6.946, allocations: 295.7 kB / 3.353 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/6.946, allocations: 38.55 kB / 3.353 GB, free: 52.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 4.178e-06/6.946, allocations: 0 / 3.353 GB, free: 52.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.00662/6.953, allocations: 1.302 MB / 3.354 GB, free: 50.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/6.953, allocations: 55.41 kB / 3.354 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/6.954, allocations: 0.8194 MB / 3.355 GB, free: 50 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.084e-05/6.954, allocations: 33.64 kB / 3.355 GB, free: 49.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/6.954, allocations: 447.5 kB / 3.356 GB, free: 49.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/6.955, allocations: 134.1 kB / 3.356 GB, free: 49.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/6.955, allocations: 8 kB / 3.356 GB, free: 49.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/6.955, allocations: 322 kB / 3.356 GB, free: 49.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/6.955, allocations: 229.1 kB / 3.356 GB, free: 48.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/6.956, allocations: 457 kB / 3.357 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/6.956, allocations: 251.6 kB / 3.357 GB, free: 48.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/6.956, allocations: 4 kB / 3.357 GB, free: 48.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001381/6.957, allocations: 0.7511 MB / 3.358 GB, free: 47.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/6.958, allocations: 1.842 MB / 3.359 GB, free: 45.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/6.958, allocations: 4 kB / 3.359 GB, free: 45.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/6.958, allocations: 172.8 kB / 3.36 GB, free: 45.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/6.96, allocations: 291.6 kB / 3.36 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/6.962, allocations: 1.384 MB / 3.361 GB, free: 43.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/6.964, allocations: 211.3 kB / 3.361 GB, free: 43.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/6.964, allocations: 31.97 kB / 3.362 GB, free: 43.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/6.964, allocations: 4 kB / 3.362 GB, free: 43.16 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/6.965, allocations: 0.6009 MB / 3.362 GB, free: 42.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/6.965, allocations: 4.141 kB / 3.362 GB, free: 42.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/6.965, allocations: 8 kB / 3.362 GB, free: 42.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/6.966, allocations: 240.2 kB / 3.362 GB, free: 42.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/6.966, allocations: 11.94 kB / 3.362 GB, free: 42.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/6.968, allocations: 191.2 kB / 3.363 GB, free: 42.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/6.968, allocations: 43.92 kB / 3.363 GB, free: 42.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002526/6.969, allocations: 136.8 kB / 3.363 GB, free: 41.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/6.969, allocations: 90.88 kB / 3.363 GB, free: 41.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/6.971, allocations: 0.7135 MB / 3.364 GB, free: 41.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/6.971, allocations: 4 kB / 3.364 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/6.971, allocations: 3.938 kB / 3.364 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/6.971, allocations: 0 / 3.364 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006073/6.977, allocations: 2.177 MB / 3.366 GB, free: 38.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/6.977, allocations: 0 / 3.366 GB, free: 38.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/6.978, allocations: 259.9 kB / 3.366 GB, free: 38.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003925/6.979, allocations: 168.7 kB / 3.366 GB, free: 38.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.546e-05/6.979, allocations: 23.97 kB / 3.366 GB, free: 38.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/6.982, allocations: 2.186 MB / 3.368 GB, free: 36.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/6.982, allocations: 7.938 kB / 3.368 GB, free: 36.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/6.986, allocations: 1.217 MB / 3.369 GB, free: 34.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007984/6.987, allocations: 255.7 kB / 3.37 GB, free: 34.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/6.987, allocations: 12 kB / 3.37 GB, free: 34.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/6.989, allocations: 143.8 kB / 3.37 GB, free: 34.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/6.989, allocations: 39.91 kB / 3.37 GB, free: 34.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/6.989, allocations: 27.95 kB / 3.37 GB, free: 34.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001191/6.99, allocations: 0.641 MB / 3.37 GB, free: 33.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/6.99, allocations: 0 / 3.37 GB, free: 33.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002744/6.993, allocations: 0.5581 MB / 3.371 GB, free: 33.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006066/6.999, allocations: 3.567 MB / 3.375 GB, free: 29.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003542/7.003, allocations: 1.096 MB / 3.376 GB, free: 28.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/7.003, allocations: 3.938 kB / 3.376 GB, free: 28.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/7.005, allocations: 488.1 kB / 3.376 GB, free: 27.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/7.007, allocations: 442.9 kB / 3.376 GB, free: 27.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/7.011, allocations: 1.333 MB / 3.378 GB, free: 25.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/7.012, allocations: 1.015 MB / 3.379 GB, free: 24.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001877/7.014, allocations: 330.6 kB / 3.379 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/7.014, allocations: 315.3 kB / 3.379 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/7.014, allocations: 0 / 3.379 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5464/7.561, allocations: 53.06 MB / 3.431 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/7.561, allocations: 225.8 kB / 3.431 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.229/11.79, allocations: 3.875 kB / 3.431 GB, free: 108.2 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)