Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.476/2.476, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001435/0.001435, allocations: 172.9 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001056/0.001055, allocations: 101.6 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.007e-05, allocations: 8 kB / 0.8508 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8421/0.8421, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.853/7.695, allocations: 2.093 GB / 3.057 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/7.695, allocations: 84.92 kB / 3.057 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.304/9.999, allocations: 472.1 MB / 3.518 GB, free: 226.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.545e-06/9.999, allocations: 0 / 3.518 GB, free: 226.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000206/9.999, allocations: 49.94 kB / 3.518 GB, free: 226.5 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.005955/10.01, allocations: 1.765 MB / 3.52 GB, free: 225.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/10.01, allocations: 11.34 kB / 3.52 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005133/10.01, allocations: 445.4 kB / 3.52 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/10.01, allocations: 0.9796 MB / 3.521 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.58e-05/10.01, allocations: 48.91 kB / 3.521 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/10.01, allocations: 96.3 kB / 3.521 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004125/10.02, allocations: 1.509 MB / 3.523 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004718/10.02, allocations: 1.409 MB / 3.524 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/10.02, allocations: 0 / 3.524 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/10.02, allocations: 7.375 kB / 3.524 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/10.02, allocations: 37.22 kB / 3.524 GB, free: 222.8 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.01319/10.04, allocations: 5.428 MB / 3.529 GB, free: 218.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/10.04, allocations: 1.344 MB / 3.531 GB, free: 217.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/10.04, allocations: 493.5 kB / 3.531 GB, free: 217.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/10.04, allocations: 0.8881 MB / 3.532 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/10.04, allocations: 0.6788 MB / 3.533 GB, free: 216.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 4.127e-06/10.04, allocations: 0 / 3.533 GB, free: 216.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.004178/10.05, allocations: 1.108 MB / 3.534 GB, free: 215.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/10.05, allocations: 244.6 kB / 3.534 GB, free: 215.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/10.05, allocations: 0.6727 MB / 3.535 GB, free: 214.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/10.05, allocations: 29.7 kB / 3.535 GB, free: 214.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/10.05, allocations: 0.6426 MB / 3.535 GB, free: 213.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/10.05, allocations: 382.2 kB / 3.536 GB, free: 213.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/10.05, allocations: 3.938 kB / 3.536 GB, free: 213.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/10.05, allocations: 341.9 kB / 3.536 GB, free: 213 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000835/10.05, allocations: 354.5 kB / 3.536 GB, free: 212.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009903/10.05, allocations: 0.5064 MB / 3.537 GB, free: 212.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/10.05, allocations: 433.3 kB / 3.537 GB, free: 211.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/10.05, allocations: 0 / 3.537 GB, free: 211.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00356/10.06, allocations: 1.082 MB / 3.538 GB, free: 210.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/10.06, allocations: 10.47 kB / 3.538 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/10.06, allocations: 0 / 3.538 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009497/10.06, allocations: 87.3 kB / 3.538 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/10.06, allocations: 266.2 kB / 3.539 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/10.06, allocations: 1.467 MB / 3.54 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/10.07, allocations: 117.9 kB / 3.54 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/10.07, allocations: 39.98 kB / 3.54 GB, free: 208.5 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.0004174/10.07, allocations: 137.3 kB / 3.54 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003578/10.07, allocations: 1.069 MB / 3.541 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/10.07, allocations: 121.5 kB / 3.542 GB, free: 207.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/10.08, allocations: 1.374 MB / 3.543 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/10.08, allocations: 12 kB / 3.543 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/10.08, allocations: 0 / 3.543 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/10.08, allocations: 7.969 kB / 3.543 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007834/10.08, allocations: 2.746 MB / 3.546 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/10.08, allocations: 3.938 kB / 3.546 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/10.09, allocations: 266.2 kB / 3.546 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/10.09, allocations: 83.95 kB / 3.546 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/10.09, allocations: 23.92 kB / 3.546 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/10.09, allocations: 1.49 MB / 3.547 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/10.09, allocations: 0 / 3.547 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/10.09, allocations: 1.873 MB / 3.549 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/10.1, allocations: 387.2 kB / 3.55 GB, free: 198.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/10.1, allocations: 7.938 kB / 3.55 GB, free: 198.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/10.1, allocations: 98.25 kB / 3.55 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/10.1, allocations: 89.45 kB / 3.55 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/10.1, allocations: 59.34 kB / 3.55 GB, free: 198.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001013/10.1, allocations: 0.5265 MB / 3.55 GB, free: 198 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/10.1, allocations: 0 / 3.55 GB, free: 198 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002685/10.1, allocations: 0.5721 MB / 3.551 GB, free: 197.4 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.009169/10.11, allocations: 4.21 MB / 3.555 GB, free: 193.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002928/10.11, allocations: 1.054 MB / 3.556 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/10.12, allocations: 448 / 3.556 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/10.12, allocations: 0.6621 MB / 3.557 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/10.12, allocations: 408.9 kB / 3.557 GB, free: 191.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/10.13, allocations: 2.51 MB / 3.56 GB, free: 188.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/10.13, allocations: 1.31 MB / 3.561 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002856/10.13, allocations: 412.1 kB / 3.561 GB, free: 187.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/10.14, allocations: 0.6281 MB / 3.562 GB, free: 186.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/10.14, allocations: 0 / 3.562 GB, free: 186.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/10.27, allocations: 41.83 MB / 3.603 GB, free: 145.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/10.27, allocations: 162.4 kB / 3.603 GB, free: 144.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.85/15.12, allocations: 0 / 3.603 GB, free: 144.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)