Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008689/0.0008688, allocations: 99.05 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.605e-05/4.656e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2621, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.911/6.173, allocations: 2.212 GB / 3.104 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/6.173, allocations: 79.95 kB / 3.104 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.407/7.58, allocations: 466.8 MB / 3.56 GB, free: 24.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.996e-06/7.581, allocations: 0 / 3.56 GB, free: 24.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001604/7.581, allocations: 44 kB / 3.56 GB, free: 24.55 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.00409/7.585, allocations: 1.78 MB / 3.562 GB, free: 22.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/7.585, allocations: 11.97 kB / 3.562 GB, free: 22.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002898/7.585, allocations: 228 kB / 3.562 GB, free: 22.47 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/7.588, allocations: 453.3 kB / 3.563 GB, free: 22.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/7.59, allocations: 0.9931 MB / 3.564 GB, free: 20.99 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/7.59, allocations: 119.1 kB / 3.564 GB, free: 20.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/7.59, allocations: 152 kB / 3.564 GB, free: 20.72 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/7.593, allocations: 1.657 MB / 3.566 GB, free: 18.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/7.593, allocations: 0 / 3.566 GB, free: 18.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/7.593, allocations: 68 kB / 3.566 GB, free: 18.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/7.593, allocations: 36 kB / 3.566 GB, free: 18.88 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/7.595, allocations: 1.612 MB / 3.567 GB, free: 17.26 MB / 0.8698 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.007238/7.602, allocations: 5.924 MB / 3.573 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/7.604, allocations: 1.165 MB / 3.574 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/7.605, allocations: 0.5084 MB / 3.575 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008436/7.606, allocations: 0.8907 MB / 3.576 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/7.607, allocations: 0.7129 MB / 3.576 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 3.607e-06/7.607, allocations: 0 / 3.576 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.002605/7.609, allocations: 1.161 MB / 3.577 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/7.609, allocations: 244.3 kB / 3.578 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/7.61, allocations: 0.8712 MB / 3.578 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/7.611, allocations: 53.7 kB / 3.578 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/7.611, allocations: 0.6446 MB / 3.579 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/7.611, allocations: 394.2 kB / 3.579 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/7.611, allocations: 16 kB / 3.579 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/7.611, allocations: 345.9 kB / 3.58 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/7.612, allocations: 361.9 kB / 3.58 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/7.613, allocations: 0.5365 MB / 3.581 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/7.613, allocations: 454.8 kB / 3.581 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/7.613, allocations: 0 / 3.581 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001993/7.615, allocations: 1.153 MB / 3.582 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/7.615, allocations: 8 kB / 3.582 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/7.615, allocations: 0 / 3.582 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005715/7.616, allocations: 88.84 kB / 3.582 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/7.617, allocations: 271.6 kB / 3.583 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.527/8.144, allocations: 1.52 MB / 3.584 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/8.146, allocations: 158.1 kB / 3.584 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/8.146, allocations: 43.28 kB / 3.584 GB, free: 186.9 MB / 0.8698 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.0003961/8.147, allocations: 171.5 kB / 3.584 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/8.147, allocations: 133.4 kB / 3.585 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/8.151, allocations: 1.466 MB / 3.586 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/8.151, allocations: 12.62 kB / 3.586 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/8.151, allocations: 0 / 3.586 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/8.151, allocations: 7.578 kB / 3.586 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/8.154, allocations: 1.445 MB / 3.587 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/8.154, allocations: 3.141 kB / 3.587 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/8.155, allocations: 266.2 kB / 3.588 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/8.155, allocations: 85.22 kB / 3.588 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/8.156, allocations: 37 kB / 3.588 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/8.157, allocations: 1.56 MB / 3.589 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/8.157, allocations: 1.031 kB / 3.589 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/8.161, allocations: 1.901 MB / 3.591 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/8.162, allocations: 415.3 kB / 3.592 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/8.163, allocations: 29.53 kB / 3.592 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/8.164, allocations: 126.7 kB / 3.592 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/8.164, allocations: 87.23 kB / 3.592 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/8.164, allocations: 60.92 kB / 3.592 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009941/8.165, allocations: 0.6919 MB / 3.593 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/8.165, allocations: 0 / 3.593 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002086/8.167, allocations: 0.6403 MB / 3.593 GB, free: 184.7 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.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.007899/8.175, allocations: 4.119 MB / 3.597 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002481/8.178, allocations: 1.111 MB / 3.598 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/8.178, allocations: 3.047 kB / 3.598 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/8.179, allocations: 0.6849 MB / 3.599 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/8.182, allocations: 0.4906 MB / 3.599 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/8.189, allocations: 2.665 MB / 3.602 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009011/8.19, allocations: 1.321 MB / 3.603 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002022/8.192, allocations: 437.2 kB / 3.604 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008399/8.192, allocations: 0.6457 MB / 3.604 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/8.193, allocations: 0 / 3.604 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/8.304, allocations: 59.24 MB / 3.662 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/8.304, allocations: 219.6 kB / 3.662 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/12.42, allocations: 0 / 3.662 GB, free: 180.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)