Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.372/1.372, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 180.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009038/0.0009036, allocations: 91.64 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 10.95 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2375, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1549/0.3924, allocations: 140.1 MB / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01858/0.4111, allocations: 13.74 MB / 1.05 GB, free: 5.598 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.4126, allocations: 19.88 kB / 1.05 GB, free: 5.578 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.4138, allocations: 314.2 kB / 1.051 GB, free: 5.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.4174, allocations: 1.081 MB / 1.052 GB, free: 4.188 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.4208, allocations: 1.124 MB / 1.053 GB, free: 3.078 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003496/0.4243, allocations: 1.527 MB / 1.054 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/0.4268, allocations: 1.441 MB / 1.056 GB, free: 88 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5485/0.9754, allocations: 0.8905 MB / 1.057 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.9766, allocations: 0.576 MB / 1.057 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.9768, allocations: 39.91 kB / 1.057 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.9794, allocations: 0.8426 MB / 1.058 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.9798, allocations: 352.3 kB / 1.058 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004914/0.9803, allocations: 331.3 kB / 1.059 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.9842, allocations: 2.08 MB / 1.061 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9843, allocations: 1.406 kB / 1.061 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/0.9843, allocations: 0 / 1.061 GB, free: 4.293 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.464e-05/0.9844, allocations: 0 / 1.061 GB, free: 4.293 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004413/0.9888, allocations: 1.808 MB / 1.063 GB, free: 3.312 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.9888, allocations: 11.83 kB / 1.063 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004552/0.9893, allocations: 245.2 kB / 1.063 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.9929, allocations: 0.513 MB / 1.063 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.9953, allocations: 1.016 MB / 1.064 GB, free: 2.832 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.9954, allocations: 130 kB / 1.064 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.9956, allocations: 161.6 kB / 1.065 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003753/0.9994, allocations: 1.759 MB / 1.066 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.9994, allocations: 0 / 1.066 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.9996, allocations: 76.59 kB / 1.066 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.9997, allocations: 42.39 kB / 1.066 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004014/1.004, allocations: 1.808 MB / 1.068 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/1.014, allocations: 5.045 MB / 1.073 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/1.017, allocations: 1.367 MB / 1.074 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/1.018, allocations: 477.3 kB / 1.075 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/1.019, allocations: 0.8201 MB / 1.076 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=137): time 3.506e-06/1.019, allocations: 0 / 1.076 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=137): time 0.006086/1.025, allocations: 2.402 MB / 1.078 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.026, allocations: 202.8 kB / 1.078 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/1.027, allocations: 0.7774 MB / 1.079 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002026/1.027, allocations: 56.39 kB / 1.079 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/1.028, allocations: 0.6304 MB / 1.08 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/1.028, allocations: 458.4 kB / 1.08 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/1.028, allocations: 22.59 kB / 1.08 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.028, allocations: 347.2 kB / 1.08 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008955/1.029, allocations: 432 kB / 1.081 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.03, allocations: 0.5752 MB / 1.081 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.031, allocations: 0.4972 MB / 1.082 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.031, allocations: 0 / 1.082 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003223/1.034, allocations: 1.386 MB / 1.083 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.035, allocations: 7.812 kB / 1.083 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.035, allocations: 0 / 1.083 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008623/1.035, allocations: 194.7 kB / 1.083 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.037, allocations: 295.1 kB / 1.084 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/1.042, allocations: 6.81 MB / 1.09 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.044, allocations: 148.5 kB / 1.09 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/1.044, allocations: 48.66 kB / 1.091 GB, free: 7.477 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001155/1.045, allocations: 365.8 kB / 1.091 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/1.046, allocations: 129.1 kB / 1.091 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/1.05, allocations: 1.728 MB / 1.093 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/1.05, allocations: 26.98 kB / 1.093 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.05, allocations: 0 / 1.093 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/1.05, allocations: 6.188 kB / 1.093 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/1.052, allocations: 1.445 MB / 1.094 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.052, allocations: 0 / 1.094 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/1.054, allocations: 297.1 kB / 1.094 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000849/1.055, allocations: 194.9 kB / 1.095 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/1.055, allocations: 40.72 kB / 1.095 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005435/1.06, allocations: 6.85 MB / 1.101 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.06, allocations: 0 / 1.101 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/1.064, allocations: 1.519 MB / 1.103 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009378/1.065, allocations: 402.9 kB / 1.103 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/1.065, allocations: 27.16 kB / 1.103 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.066, allocations: 132.8 kB / 1.103 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.067, allocations: 110.2 kB / 1.103 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.067, allocations: 63.7 kB / 1.104 GB, free: 32 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000819/1.068, allocations: 0.5405 MB / 1.104 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.2e-07/1.068, allocations: 0 / 1.104 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001717/1.069, allocations: 0.5359 MB / 1.105 GB, free: 15.83 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004948/1.074, allocations: 2.64 MB / 1.107 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003031/1.077, allocations: 1.71 MB / 1.109 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.077, allocations: 2.719 kB / 1.109 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/1.079, allocations: 1.251 MB / 1.11 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.081, allocations: 435 kB / 1.11 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.098, allocations: 8.328 MB / 1.119 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.099, allocations: 1.316 MB / 1.12 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002408/1.101, allocations: 419.8 kB / 1.12 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009761/1.102, allocations: 0.6211 MB / 1.121 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of SimCode: time 1.814e-06/1.102, allocations: 0 / 1.121 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0646/1.167, allocations: 35.18 MB / 1.155 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.167, allocations: 270.5 kB / 1.155 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.437/4.604, allocations: 0 / 1.155 GB, free: 4.059 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)