Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.849/1.849, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001356, allocations: 172.9 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.3 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000884/0.000884, allocations: 87 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.815e-05, allocations: 4 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6867, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.009/5.695, allocations: 2.094 GB / 3.058 GB, free: 21.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/5.696, allocations: 86.02 kB / 3.058 GB, free: 21.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.456/8.152, allocations: 472.1 MB / 3.519 GB, free: 227.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/8.152, allocations: 1.625 kB / 3.519 GB, free: 227.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004327/8.152, allocations: 53.45 kB / 3.519 GB, free: 227.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.007223/8.16, allocations: 1.76 MB / 3.521 GB, free: 226.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.913e-05/8.16, allocations: 12.66 kB / 3.521 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/8.164, allocations: 452.7 kB / 3.521 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/8.168, allocations: 0.978 MB / 3.522 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/8.168, allocations: 49.47 kB / 3.522 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005629/8.169, allocations: 88 kB / 3.522 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004503/8.173, allocations: 1.515 MB / 3.524 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004218/8.177, allocations: 1.411 MB / 3.525 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/8.177, allocations: 1.188 kB / 3.525 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/8.178, allocations: 6.344 kB / 3.525 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/8.178, allocations: 37.78 kB / 3.525 GB, free: 226.2 MB / 0.948 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.01007/8.188, allocations: 5.425 MB / 3.531 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/8.19, allocations: 1.351 MB / 3.532 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/8.191, allocations: 496.1 kB / 3.532 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/8.192, allocations: 0.8862 MB / 3.533 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/8.193, allocations: 0.6722 MB / 3.534 GB, free: 222.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 6.653e-06/8.193, allocations: 0 / 3.534 GB, free: 222.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.002889/8.196, allocations: 1.1 MB / 3.535 GB, free: 222.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/8.196, allocations: 250 kB / 3.535 GB, free: 222.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/8.197, allocations: 0.6815 MB / 3.536 GB, free: 222 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/8.197, allocations: 29.45 kB / 3.536 GB, free: 222 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/8.198, allocations: 0.645 MB / 3.537 GB, free: 221.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003767/8.198, allocations: 377.3 kB / 3.537 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/8.198, allocations: 0 / 3.537 GB, free: 221.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/8.199, allocations: 343.1 kB / 3.537 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/8.199, allocations: 356.5 kB / 3.538 GB, free: 221.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/8.2, allocations: 0.5016 MB / 3.538 GB, free: 221.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/8.2, allocations: 434.4 kB / 3.539 GB, free: 221.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/8.2, allocations: 0 / 3.539 GB, free: 221.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002416/8.203, allocations: 1.082 MB / 3.54 GB, free: 221 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/8.203, allocations: 8.266 kB / 3.54 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/8.203, allocations: 3.969 kB / 3.54 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/8.204, allocations: 89.94 kB / 3.54 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/8.205, allocations: 270 kB / 3.54 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/8.207, allocations: 1.467 MB / 3.541 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/8.208, allocations: 110.3 kB / 3.541 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/8.208, allocations: 43.41 kB / 3.541 GB, free: 219.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003267/8.209, allocations: 123 kB / 3.542 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002449/8.211, allocations: 1.07 MB / 3.543 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/8.211, allocations: 120.3 kB / 3.543 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/8.214, allocations: 1.38 MB / 3.544 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/8.214, allocations: 14.12 kB / 3.544 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/8.214, allocations: 0 / 3.544 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/8.214, allocations: 10.91 kB / 3.544 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005468/8.22, allocations: 2.745 MB / 3.547 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/8.22, allocations: 0 / 3.547 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/8.221, allocations: 264.7 kB / 3.547 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005019/8.222, allocations: 78.72 kB / 3.547 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.991e-05/8.222, allocations: 28.22 kB / 3.547 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/8.223, allocations: 1.493 MB / 3.549 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/8.223, allocations: 5.938 kB / 3.549 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/8.227, allocations: 1.867 MB / 3.55 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008846/8.227, allocations: 390.3 kB / 3.551 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/8.228, allocations: 7.031 kB / 3.551 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/8.229, allocations: 92.41 kB / 3.551 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/8.229, allocations: 84.84 kB / 3.551 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/8.229, allocations: 61.22 kB / 3.551 GB, free: 217.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009961/8.23, allocations: 0.5284 MB / 3.552 GB, free: 217.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/8.23, allocations: 3.75 kB / 3.552 GB, free: 217.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002339/8.233, allocations: 0.5808 MB / 3.552 GB, free: 217.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006934/8.24, allocations: 4.218 MB / 3.556 GB, free: 216 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002042/8.242, allocations: 1.06 MB / 3.557 GB, free: 215.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/8.242, allocations: 448 / 3.557 GB, free: 215.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/8.243, allocations: 0.6546 MB / 3.558 GB, free: 215.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/8.246, allocations: 405.3 kB / 3.558 GB, free: 215.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007694/8.253, allocations: 2.5 MB / 3.561 GB, free: 215.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/8.254, allocations: 1.311 MB / 3.562 GB, free: 214.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002012/8.256, allocations: 413.8 kB / 3.562 GB, free: 214.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/8.257, allocations: 0.6341 MB / 3.563 GB, free: 214.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/8.257, allocations: 0 / 3.563 GB, free: 214.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09025/8.348, allocations: 41.85 MB / 3.604 GB, free: 210.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/8.348, allocations: 173 kB / 3.604 GB, free: 210.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.053/12.4, allocations: 3.062 kB / 3.604 GB, free: 210.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)