Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 197.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 60.05 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3173, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1704/0.4877, allocations: 166.1 MB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02462/0.5124, allocations: 17.18 MB / 1.247 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.5154, allocations: 27.81 kB / 1.247 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.5184, allocations: 489 kB / 1.247 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008572/0.527, allocations: 1.637 MB / 1.249 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6948/1.222, allocations: 1.288 MB / 1.25 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00426/1.226, allocations: 2.877 MB / 1.253 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003061/1.229, allocations: 1.958 MB / 1.255 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006024/1.235, allocations: 1.426 MB / 1.256 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/1.237, allocations: 1.163 MB / 1.257 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004161/1.238, allocations: 223.4 kB / 1.258 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/1.24, allocations: 1.559 MB / 1.259 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006934/1.241, allocations: 0.7998 MB / 1.26 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/1.243, allocations: 1.231 MB / 1.261 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006072/1.249, allocations: 3.605 MB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.249, allocations: 0.9375 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.249, allocations: 0 / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.791e-05/1.249, allocations: 0.9375 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006014/1.255, allocations: 2.792 MB / 1.267 GB, free: 20.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.255, allocations: 8.281 kB / 1.267 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/1.259, allocations: 0.5611 MB / 1.268 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/1.262, allocations: 1.599 MB / 1.269 GB, free: 20.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/1.262, allocations: 132.2 kB / 1.27 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/1.262, allocations: 165.6 kB / 1.27 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003847/1.266, allocations: 1.962 MB / 1.272 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/1.266, allocations: 0 / 1.272 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/1.266, allocations: 77.27 kB / 1.272 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/1.266, allocations: 48.45 kB / 1.272 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004538/1.271, allocations: 2.112 MB / 1.274 GB, free: 20.01 MB / 1.014 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.0114/1.282, allocations: 6.24 MB / 1.28 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/1.286, allocations: 2.129 MB / 1.282 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.288, allocations: 0.7694 MB / 1.283 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/1.288, allocations: 425.8 kB / 1.283 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/1.29, allocations: 1.027 MB / 1.284 GB, free: 16.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.236e-06/1.29, allocations: 2.281 kB / 1.284 GB, free: 16.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007121/1.297, allocations: 2.984 MB / 1.287 GB, free: 16.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.297, allocations: 200.6 kB / 1.287 GB, free: 15.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/1.3, allocations: 1.827 MB / 1.289 GB, free: 15.74 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/1.3, allocations: 60.45 kB / 1.289 GB, free: 15.71 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/1.301, allocations: 0.8486 MB / 1.29 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/1.301, allocations: 488.2 kB / 1.29 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/1.302, allocations: 259.8 kB / 1.291 GB, free: 15.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.302, allocations: 355.2 kB / 1.291 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.303, allocations: 0.606 MB / 1.292 GB, free: 14.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.305, allocations: 0.8121 MB / 1.292 GB, free: 14.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/1.307, allocations: 1.356 MB / 1.294 GB, free: 14.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.307, allocations: 1.375 kB / 1.294 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004449/1.312, allocations: 1.84 MB / 1.295 GB, free: 14.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/1.312, allocations: 7.719 kB / 1.295 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.312, allocations: 1.188 kB / 1.295 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/1.313, allocations: 214.4 kB / 1.296 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.314, allocations: 337.6 kB / 1.296 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/1.321, allocations: 7.339 MB / 1.303 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/1.323, allocations: 188.8 kB / 1.303 GB, free: 7.492 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/1.323, allocations: 58.66 kB / 1.303 GB, free: 7.492 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001318/1.325, allocations: 492.7 kB / 1.304 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/1.325, allocations: 184.7 kB / 1.304 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004584/1.33, allocations: 2.148 MB / 1.306 GB, free: 7.113 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/1.33, allocations: 18.7 kB / 1.306 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/1.33, allocations: 7.562 kB / 1.306 GB, free: 7.105 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.33, allocations: 6.094 kB / 1.306 GB, free: 7.105 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007321/1.337, allocations: 4.024 MB / 1.31 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.337, allocations: 0 / 1.31 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.339, allocations: 318.1 kB / 1.31 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008251/1.34, allocations: 200.5 kB / 1.311 GB, free: 6.617 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/1.34, allocations: 44.27 kB / 1.311 GB, free: 6.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/1.346, allocations: 7.354 MB / 1.318 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.346, allocations: 0 / 1.318 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/1.35, allocations: 2.012 MB / 1.32 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008834/1.351, allocations: 473.9 kB / 1.32 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/1.351, allocations: 31.84 kB / 1.32 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.352, allocations: 142.8 kB / 1.32 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/1.353, allocations: 116.6 kB / 1.32 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.353, allocations: 71.08 kB / 1.321 GB, free: 15.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001739/1.355, allocations: 1.308 MB / 1.322 GB, free: 15.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.355, allocations: 0.9375 kB / 1.322 GB, free: 15.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002181/1.357, allocations: 0.6815 MB / 1.323 GB, free: 15.09 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001923/1.359, allocations: 0.7594 MB / 1.323 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005445/1.364, allocations: 2.542 MB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.364, allocations: 4.094 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.367, allocations: 1.425 MB / 1.327 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/1.369, allocations: 0.5443 MB / 1.328 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007203/1.377, allocations: 4.747 MB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.378, allocations: 1.546 MB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002203/1.38, allocations: 0.4944 MB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/1.38, allocations: 176.6 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/1.38, allocations: 0 / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of Templates: time 0.05269/1.433, allocations: 31.97 MB / 1.366 GB, free: 11.46 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)