Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001961/0.001961, allocations: 176.8 kB / 366.7 MB, free: 1.66 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.867/1.867, allocations: 205.2 MB / 0.626 GB, free: 7.211 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.0008431/0.000843, allocations: 89.73 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.739e-05, allocations: 8 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.7988, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.928/5.727, allocations: 2.095 GB / 3.068 GB, free: 33.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/5.727, allocations: 88.7 kB / 3.068 GB, free: 33.32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.352/8.079, allocations: 472.1 MB / 3.529 GB, free: 226.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/8.079, allocations: 0 / 3.529 GB, free: 226.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003713/8.08, allocations: 51.27 kB / 3.529 GB, free: 226.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.006773/8.087, allocations: 1.762 MB / 3.531 GB, free: 225.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/8.087, allocations: 9.344 kB / 3.531 GB, free: 225.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/8.091, allocations: 456.2 kB / 3.531 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/8.094, allocations: 0.9679 MB / 3.532 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/8.094, allocations: 49.5 kB / 3.532 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005167/8.095, allocations: 90.34 kB / 3.532 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004035/8.099, allocations: 1.516 MB / 3.534 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/8.103, allocations: 1.404 MB / 3.535 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.469e-05/8.103, allocations: 5.969 kB / 3.535 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/8.104, allocations: 3.125 kB / 3.535 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.196e-05/8.104, allocations: 39.45 kB / 3.535 GB, free: 225.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.01063/8.114, allocations: 5.427 MB / 3.54 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/8.116, allocations: 1.361 MB / 3.542 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/8.117, allocations: 490.9 kB / 3.542 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009814/8.118, allocations: 0.8861 MB / 3.543 GB, free: 221.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/8.119, allocations: 0.6649 MB / 3.544 GB, free: 221.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 8.927e-06/8.119, allocations: 0 / 3.544 GB, free: 221.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.003295/8.123, allocations: 1.108 MB / 3.545 GB, free: 221.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/8.123, allocations: 245.6 kB / 3.545 GB, free: 221.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/8.124, allocations: 0.678 MB / 3.546 GB, free: 221 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/8.125, allocations: 29.52 kB / 3.546 GB, free: 221 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007653/8.125, allocations: 0.6385 MB / 3.546 GB, free: 220.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/8.126, allocations: 376 kB / 3.547 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/8.126, allocations: 0 / 3.547 GB, free: 220.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/8.126, allocations: 352.2 kB / 3.547 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/8.126, allocations: 352.3 kB / 3.547 GB, free: 220.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/8.127, allocations: 0.5108 MB / 3.548 GB, free: 220.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/8.128, allocations: 433.8 kB / 3.548 GB, free: 220.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/8.128, allocations: 0 / 3.548 GB, free: 220.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002476/8.13, allocations: 1.088 MB / 3.549 GB, free: 220 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/8.13, allocations: 3.719 kB / 3.549 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/8.131, allocations: 0 / 3.549 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/8.131, allocations: 91.02 kB / 3.55 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/8.132, allocations: 267 kB / 3.55 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/8.134, allocations: 1.468 MB / 3.551 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/8.136, allocations: 110.7 kB / 3.551 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/8.136, allocations: 43.77 kB / 3.551 GB, free: 218.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.0003474/8.136, allocations: 128.8 kB / 3.551 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002408/8.139, allocations: 1.071 MB / 3.553 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/8.139, allocations: 116.3 kB / 3.553 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/8.142, allocations: 1.374 MB / 3.554 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/8.142, allocations: 15.28 kB / 3.554 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/8.142, allocations: 0 / 3.554 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/8.142, allocations: 14.73 kB / 3.554 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/8.148, allocations: 2.747 MB / 3.557 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/8.148, allocations: 3.938 kB / 3.557 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/8.149, allocations: 261.4 kB / 3.557 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/8.15, allocations: 84.61 kB / 3.557 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/8.15, allocations: 16.89 kB / 3.557 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/8.152, allocations: 1.498 MB / 3.558 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/8.152, allocations: 3.062 kB / 3.558 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/8.155, allocations: 1.874 MB / 3.56 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/8.156, allocations: 388.7 kB / 3.561 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/8.156, allocations: 3.031 kB / 3.561 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/8.158, allocations: 100.3 kB / 3.561 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/8.158, allocations: 81.7 kB / 3.561 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/8.158, allocations: 58.28 kB / 3.561 GB, free: 216.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00092/8.159, allocations: 0.5265 MB / 3.561 GB, free: 216.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.159, allocations: 0 / 3.561 GB, free: 216.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002422/8.161, allocations: 0.5779 MB / 3.562 GB, free: 216.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.007598/8.169, allocations: 4.213 MB / 3.566 GB, free: 215 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002029/8.171, allocations: 1.057 MB / 3.567 GB, free: 214.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/8.171, allocations: 448 / 3.567 GB, free: 214.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/8.172, allocations: 0.6594 MB / 3.568 GB, free: 214.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/8.175, allocations: 412.2 kB / 3.568 GB, free: 214.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008397/8.183, allocations: 2.503 MB / 3.571 GB, free: 214.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/8.185, allocations: 1.305 MB / 3.572 GB, free: 213.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002473/8.187, allocations: 416.8 kB / 3.572 GB, free: 213.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/8.189, allocations: 0.6345 MB / 3.573 GB, free: 213.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.104e-06/8.189, allocations: 0 / 3.573 GB, free: 213.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09102/8.28, allocations: 41.83 MB / 3.614 GB, free: 208.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/8.28, allocations: 166.2 kB / 3.614 GB, free: 207.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/12.16, allocations: 4 kB / 3.614 GB, free: 207.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)