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.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001088/0.001088, allocations: 173 kB / 326.5 MB, free: 2.238 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.645/1.645, 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.0008433/0.0008434, allocations: 95.56 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 9.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2036/0.4495, allocations: 146.4 MB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.467, allocations: 12.83 MB / 1.056 GB, free: 188 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.4688, allocations: 27.81 kB / 1.056 GB, free: 160 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.5399/1.009, allocations: 370.3 kB / 1.056 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005799/1.015, allocations: 1.271 MB / 1.057 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004097/1.019, allocations: 1.101 MB / 1.058 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004031/1.023, allocations: 1.648 MB / 1.06 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002705/1.026, allocations: 1.386 MB / 1.061 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/1.028, allocations: 1.006 MB / 1.062 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/1.03, allocations: 0.6172 MB / 1.063 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002108/1.03, allocations: 45.34 kB / 1.063 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/1.032, allocations: 0.7635 MB / 1.064 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004626/1.033, allocations: 374.8 kB / 1.064 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007637/1.034, allocations: 341.6 kB / 1.064 GB, free: 19.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003476/1.037, allocations: 2.015 MB / 1.066 GB, free: 19.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.037, allocations: 4 kB / 1.066 GB, free: 19.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.814e-06/1.037, allocations: 0 / 1.066 GB, free: 19.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.079e-05/1.037, allocations: 0 / 1.066 GB, free: 19.51 MB / 0.7136 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.004704/1.042, allocations: 1.816 MB / 1.068 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.042, allocations: 12.44 kB / 1.068 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000462/1.043, allocations: 237.3 kB / 1.068 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/1.046, allocations: 471.9 kB / 1.069 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/1.048, allocations: 1.022 MB / 1.07 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/1.048, allocations: 115.9 kB / 1.07 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/1.049, allocations: 155.2 kB / 1.07 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/1.052, allocations: 1.704 MB / 1.072 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/1.052, allocations: 4.438 kB / 1.072 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/1.053, allocations: 68.19 kB / 1.072 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.3e-05/1.053, allocations: 48.25 kB / 1.072 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0035/1.056, allocations: 1.713 MB / 1.073 GB, free: 17.74 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009893/1.066, allocations: 5.715 MB / 1.079 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/1.069, allocations: 1.251 MB / 1.08 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007414/1.07, allocations: 0.624 MB / 1.081 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/1.071, allocations: 0.7371 MB / 1.082 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 4.449e-06/1.071, allocations: 0 / 1.082 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.005829/1.077, allocations: 1.745 MB / 1.083 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.077, allocations: 192.5 kB / 1.083 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/1.079, allocations: 0.9325 MB / 1.084 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002476/1.079, allocations: 52.86 kB / 1.084 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/1.08, allocations: 0.6407 MB / 1.085 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/1.08, allocations: 394.8 kB / 1.085 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/1.08, allocations: 18.19 kB / 1.085 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.08, allocations: 348 kB / 1.086 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008292/1.081, allocations: 388.7 kB / 1.086 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/1.082, allocations: 0.5449 MB / 1.087 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/1.083, allocations: 459.5 kB / 1.087 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.083, allocations: 0 / 1.087 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00281/1.086, allocations: 1.196 MB / 1.088 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.086, allocations: 10.38 kB / 1.088 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.086, allocations: 0 / 1.088 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/1.086, allocations: 99.11 kB / 1.088 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.088, allocations: 259.8 kB / 1.089 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/1.09, allocations: 1.554 MB / 1.09 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/1.091, allocations: 155.7 kB / 1.09 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.092, allocations: 40.14 kB / 1.09 GB, free: 11.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (124): * Single equations (assignments): 123 * 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.00105/1.093, allocations: 369.5 kB / 1.091 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/1.093, allocations: 129.7 kB / 1.091 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/1.096, allocations: 1.505 MB / 1.092 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.096, allocations: 17.25 kB / 1.092 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.096, allocations: 0 / 1.092 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.096, allocations: 9.094 kB / 1.092 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005389/1.102, allocations: 2.808 MB / 1.095 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.102, allocations: 1.906 kB / 1.095 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.103, allocations: 273.9 kB / 1.095 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/1.104, allocations: 84.22 kB / 1.095 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-05/1.104, allocations: 39.56 kB / 1.095 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/1.106, allocations: 1.574 MB / 1.097 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.106, allocations: 3.188 kB / 1.097 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/1.11, allocations: 2.125 MB / 1.099 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.111, allocations: 406.7 kB / 1.099 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.111, allocations: 30.88 kB / 1.1 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.113, allocations: 134.5 kB / 1.1 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.113, allocations: 92.89 kB / 1.1 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.113, allocations: 56.88 kB / 1.1 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001042/1.114, allocations: 0.6452 MB / 1.1 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/1.114, allocations: 0 / 1.1 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001633/1.116, allocations: 498 kB / 1.101 GB, free: 8.402 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * 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.005918/1.122, allocations: 3.638 MB / 1.104 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002539/1.124, allocations: 1.152 MB / 1.106 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.124, allocations: 3.438 kB / 1.106 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/1.126, allocations: 0.7135 MB / 1.106 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/1.128, allocations: 0.4981 MB / 1.107 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/1.149, allocations: 9.283 MB / 1.116 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.15, allocations: 1.315 MB / 1.117 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002098/1.153, allocations: 422.9 kB / 1.117 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/1.153, allocations: 0.6459 MB / 1.118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of SimCode: time 1.343e-06/1.153, allocations: 0 / 1.118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06935/1.223, allocations: 35.05 MB / 1.152 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.223, allocations: 259 kB / 1.153 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.472, allocations: 6.891 kB / 1.153 GB, free: 9.254 MB / 0.7448 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)